|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.data.model.DataSetDescriptor
pl.edu.agh.cast.data.model.domain.DomainDataSetDescriptor
public final class DomainDataSetDescriptor
Enhanced descriptor of a domain data set (see IDomainDataSet
).
In addition to basic descriptor's data, the descriptor of domain data set holds the data related to its source (external, e.g. paper), i.e.:
DataSetDescriptor
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from interface pl.edu.agh.cast.data.model.Identifiable |
---|
Identifiable.Properties |
Constructor Summary | |
---|---|
DomainDataSetDescriptor()
Default constructor. |
|
DomainDataSetDescriptor(Type type)
Initializes descriptor with type. |
|
DomainDataSetDescriptor(Type type,
String name)
Constructor. |
|
DomainDataSetDescriptor(Type type,
String name,
String sourceName,
String sourceDescription,
Date sourceDate)
Constructor. |
|
DomainDataSetDescriptor(Type type,
UUID id,
String name,
Date creationDate,
String sourceName,
String sourceDescription,
Date sourceDate)
Constructor. |
Method Summary | |
---|---|
Date |
getSourceDate()
|
String |
getSourceDescription()
|
String |
getSourceName()
|
void |
setSourceDate(Date sourceDate)
|
void |
setSourceDescription(String sourceDescription)
|
void |
setSourceName(String sourceName)
|
Methods inherited from class pl.edu.agh.cast.data.model.DataSetDescriptor |
---|
checkIfValid, equals, getCreationDate, getId, getName, getType, hashCode, isValid, setCreationDate, setId, setName, setType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomainDataSetDescriptor()
Usage of this constructor is discouraged, since it does not provide any integrity control. If, however, this
constructor is used, the DataSetDescriptor.isValid()
method should be called in order to check the integrity.
public DomainDataSetDescriptor(Type type)
type
- the data set typepublic DomainDataSetDescriptor(Type type, String name)
type
- the data set typename
- the data set namepublic DomainDataSetDescriptor(Type type, String name, String sourceName, String sourceDescription, Date sourceDate)
type
- the data set typename
- the data set namesourceName
- data source name (short)sourceDescription
- data source detailed descriptionsourceDate
- data source acquisition datepublic DomainDataSetDescriptor(Type type, UUID id, String name, Date creationDate, String sourceName, String sourceDescription, Date sourceDate)
type
- the data set typeid
- the data set IDname
- the data set namecreationDate
- the data set creation datesourceName
- data source name (short)sourceDescription
- data source detailed descriptionsourceDate
- data source acquisition dateMethod Detail |
---|
public final String getSourceName()
public final void setSourceName(String sourceName)
public final String getSourceDescription()
public final void setSourceDescription(String sourceDescription)
public final Date getSourceDate()
public final void setSourceDate(Date sourceDate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |