Package com.sas.lsaf.clinical.dictionary
Class DictionaryDescriptor
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.clinical.dictionary.DictionaryDescriptor
- All Implemented Interfaces:
Identifiable,Serializable
A lightweight version of the dictionary object.
- Since:
- 2.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDictionaryDescriptor(String id, String name, String description, String standard, boolean isCheckedOut, String checkedOutBy, Date checkedOutDate, String createdBy, Date created, String lastModifiedBy, Date lastModified, String releaseDate, EntityState state, EntityState publishedState, EntityStatus dictionaryStatus, String currentVersion, int numStudiesAssociated) It is not intended or recommended that the consumer of the API construct these objects. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the userId of the user who checked out the dictionary.Gets the date on which the dictionary was checked out.Gets the date on which the dictionary was created.Gets the userId of the user who created the dictionary.Gets the current published version of the dictionary.Gets the description of the dictionary.Gets the status of the dictionary.Gets the date on which the dictionary was last modified.Gets the userId of the user who last modified the dictionary.getName()Gets the name of the dictionary.intGets the number of studies that are associated with the dictionary.Gets the published state of the dictionary, if it has been published.Gets the date on which the dictionary was released.Gets the standard that the dictionary represents.getState()Gets the state of the dictionary.inthashCode()booleanIndicates whether the dictionary is checked out.toString()Methods inherited from class com.sas.lsaf.core.AbstractIdentifiable
getId, getTypeId
-
Constructor Details
-
DictionaryDescriptor
public DictionaryDescriptor(String id, String name, String description, String standard, boolean isCheckedOut, String checkedOutBy, Date checkedOutDate, String createdBy, Date created, String lastModifiedBy, Date lastModified, String releaseDate, EntityState state, EntityState publishedState, EntityStatus dictionaryStatus, String currentVersion, int numStudiesAssociated) It is not intended or recommended that the consumer of the API construct these objects. They should only deal with the dictionary descriptors that are returned by the API.- Parameters:
id- The identifier of the dictionary.name- The name of the dictionary.description- The description of the dictionary.standard- The standard that the dictionary represents.isCheckedOut- Indicates whether the dictionary is checked out.checkedOutBy- The userId of the user who checked out the dictionary.checkedOutDate- The date on which the dictionary was checked out.createdBy- The userId of the user who created the dictionary.created- The date on which the dictionary was created.lastModifiedBy- The userId of the user who last modified the dictionary.lastModified- The date on which the dictionary was modified.releaseDate- The date on which the dictionary was released.state- The state of the dictionary.publishedState- The published state of the dictionary, if it has been published.dictionaryStatus- The status of the dictionary.currentVersion- The current published version of the dictionary.numStudiesAssociated- The number of studies that are associated with the dictionary.
-
-
Method Details
-
getNumStudiesAssociated
public int getNumStudiesAssociated()Gets the number of studies that are associated with the dictionary.- Returns:
- The number of studies that are associated with the dictionary.
-
getName
Gets the name of the dictionary.- Returns:
- The name of the dictionary.
-
getDescription
Gets the description of the dictionary.- Returns:
- The description of the dictionary.
-
getStandard
Gets the standard that the dictionary represents.- Returns:
- The standard that the dictionary represents.
-
getCreatedBy
Gets the userId of the user who created the dictionary.- Returns:
- The userId of the user who created the dictionary.
-
getCreated
Gets the date on which the dictionary was created.- Returns:
- The date on which the dictionary was created.
-
isCheckedOut
public boolean isCheckedOut()Indicates whether the dictionary is checked out.- Returns:
- True, if the dictionary is checked out.
-
getCheckedOutBy
Gets the userId of the user who checked out the dictionary.- Returns:
- The userId of the user who checked out the dictionary.
-
getCheckedOutDate
Gets the date on which the dictionary was checked out.- Returns:
- The date on which the dictionary was checked out.
-
getState
Gets the state of the dictionary.- Returns:
- The state of the dictionary.
-
getPublishedState
Gets the published state of the dictionary, if it has been published. Otherwise, null.- Returns:
- The published state of the dictionary, if it has been published.
-
getDictionaryStatus
Gets the status of the dictionary.- Returns:
- The status of the dictionary.
-
getCurrentVersion
Gets the current published version of the dictionary. Returns 0, if the dictionary has not been published.- Returns:
- The current published version of the dictionary. Returns 0, if the dictionary has not been published.
-
getLastModified
Gets the date on which the dictionary was last modified.- Returns:
- The date on which the dictionary was last modified.
-
getLastModifiedBy
Gets the userId of the user who last modified the dictionary.- Returns:
- The userId of the user who last modified the dictionary.
-
getReleaseDate
Gets the date on which the dictionary was released.- Returns:
- The date on which the dictionary was released.
-
equals
- Overrides:
equalsin classAbstractIdentifiable
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractIdentifiable
-
toString
- Overrides:
toStringin classAbstractIdentifiable
-