|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.domain.AbstractCaArrayObject
gov.nih.nci.caarray.domain.AbstractCaArrayEntity
gov.nih.nci.caarray.domain.vocabulary.TermSource
@UniqueConstraints(constraints={@UniqueConstraint(fields={@UniqueConstraintField(name="name"),@UniqueConstraintField(name="version",nullsEqual=true)}),@UniqueConstraint(fields={@UniqueConstraintField(name="url"),@UniqueConstraintField(name="version",nullsEqual=true)})}, message="{termSource.uniqueConstraint}") public class TermSource
Field Summary |
---|
Fields inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayEntity |
---|
CAARRAY_LSID_AUTHORITY, CAARRAY_LSID_NAMESPACE |
Fields inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject |
---|
DEFAULT_BATCH_SIZE, DEFAULT_STRING_COLUMN_SIZE, LARGE_TEXT_FIELD_LENGTH |
Constructor Summary | |
---|---|
TermSource()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
The default comparison uses the id. |
java.lang.String |
getName()
Gets the name. |
java.lang.String |
getNameAndVersion()
|
java.lang.String |
getUrl()
Gets the url. |
java.lang.String |
getVersion()
Gets the version. |
int |
hashCode()
Default hashCode goes off of id. |
void |
setName(java.lang.String nameVal)
Sets the name. |
void |
setUrl(java.lang.String urlVal)
Sets the url. |
void |
setVersion(java.lang.String versionVal)
Sets the version. |
java.lang.String |
toString()
|
Methods inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayEntity |
---|
getLsid, getLsidAuthority, getLsidNamespace, getLsidObjectId, setLsid, setLsid, setLsidForEntity |
Methods inherited from class gov.nih.nci.caarray.domain.AbstractCaArrayObject |
---|
getCaBigId, getId, getPostLoadSecurityPolicies, getRemoteApiSecurityPolicies, setCaBigId, setId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TermSource()
Method Detail |
---|
@NotNull @Length(min=1, max=254) public java.lang.String getName()
public void setName(java.lang.String nameVal)
nameVal
- the name@Length(max=254) public java.lang.String getUrl()
public void setUrl(java.lang.String urlVal)
urlVal
- the urlpublic java.lang.String getVersion()
public void setVersion(java.lang.String versionVal)
versionVal
- the versionpublic java.lang.String getNameAndVersion()
public boolean equals(java.lang.Object o)
equals
in class AbstractCaArrayObject
o
- other object
public int hashCode()
hashCode
in class AbstractCaArrayObject
public java.lang.String toString()
toString
in class AbstractCaArrayObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |