public final class ConditionsRecord extends BaseConditionsObject
Modifier and Type | Class and Description |
---|---|
static class |
ConditionsRecord.ConditionsRecordCollection
The concrete collection implementation, including sorting utilities.
|
Modifier and Type | Field and Description |
---|---|
(package private) static SimpleDateFormat |
DATE_FORMAT |
COLLECTION_ID_FIELD, DEFAULT_DATE_FORMAT, UNSET_COLLECTION_ID, UNSET_ROW_ID
Constructor and Description |
---|
ConditionsRecord()
Class constructor.
|
ConditionsRecord(ConditionsRecord record)
Copy constructor.
|
ConditionsRecord(int collectionId,
int runStart,
int runEnd,
String name,
String tableName,
String notes,
String tag)
Fully qualified class constructor.
|
Modifier and Type | Method and Description |
---|---|
Date |
getCreated()
Get the date this record was created.
|
String |
getCreatedBy()
Get the name of the user who created this record.
|
String |
getName()
Get the name of these conditions.
|
String |
getNotes()
Get the notes.
|
Integer |
getRunEnd()
Get the ending run number.
|
Integer |
getRunStart()
Get the starting run number.
|
String |
getTableName()
Get the name of the table containing the actual raw conditions data.
|
String |
getTag()
Deprecated.
Use the
ConditionsTag class instead. |
Date |
getUpdated()
Get the date this record was last updated.
|
private static Date |
stringToDate(String dateString) |
String |
toString()
Convert this record to a human readable string, one field per line.
|
defaultToString, delete, equals, getCollectionId, getFieldValue, getFieldValue, getFieldValues, getRowId, getTableMetaData, hasValidCollectionId, insert, isNew, select, setCollectionId, setConnection, setFieldValue, setFieldValues, setRowId, setTableMetaData, update
static SimpleDateFormat DATE_FORMAT
public ConditionsRecord()
Creates an empty conditions record.
public ConditionsRecord(ConditionsRecord record)
record
- the ConditionsRecord
to copypublic ConditionsRecord(int collectionId, int runStart, int runEnd, String name, String tableName, String notes, String tag)
collectionId
- the ID of the associated conditions collectionrunStart
- the starting run numberrunEnd
- the ending run numbername
- the name of the conditions set (usually the same as table name but can be different)tableName
- the name of the conditions data tablenotes
- text notes about this recordtag
- the conditions tag for grouping this record with otherspublic Date getCreated()
public String getCreatedBy()
public String getName()
public String getNotes()
public Integer getRunEnd()
public Integer getRunStart()
public String getTableName()
@Deprecated public String getTag()
ConditionsTag
class instead.public Date getUpdated()
public String toString()
toString
in class BaseConditionsObject
Copyright © 2019. All rights reserved.