|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.IdentifiableFieldValueDto
public class IdentifiableFieldValueDto
This class represents a field value of an IdentifiableDto
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
IdentifiableDto.IdComparator |
Constructor Summary | |
---|---|
IdentifiableFieldValueDto()
|
|
IdentifiableFieldValueDto(IdentifiableDto object,
java.lang.Integer fieldId,
java.lang.Comparable value,
java.lang.Integer typeId)
|
|
IdentifiableFieldValueDto(IdentifiableFieldValueDto other)
|
|
IdentifiableFieldValueDto(java.lang.Integer objectId,
java.lang.Integer fieldId,
java.lang.Comparable value,
java.lang.Integer typeId)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
|
static int |
compareValue(java.lang.Comparable o1,
java.lang.Comparable o2)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.Boolean |
getBooleanValue()
Get the field value as a Boolean |
java.lang.Integer |
getFieldId()
|
java.lang.Integer |
getIntValue()
Get the field value as an Integer |
java.lang.String |
getStringValue()
Get the field value as a String |
java.lang.Integer |
getTypeId()
Get the optional type discriminator for the value |
java.lang.Comparable |
getValue()
|
int |
hashCode()
|
void |
setBooleanValue(java.lang.Boolean value)
Set the field value as a Boolean |
void |
setFieldId(java.lang.Integer fieldId)
|
void |
setIdentifiableFieldValue(IdentifiableFieldValueDto other)
|
void |
setIntValue(java.lang.Integer intval)
Set the field value as an Integer |
void |
setStringValue(java.lang.String value)
Set the field value as a String |
void |
setTypeId(java.lang.Integer typeId)
Get the optional type value discriminator |
void |
setValue(java.lang.Comparable value)
|
java.lang.String |
toString()
|
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
clone, compare, compareInteger, equals, getId, hashCode, setId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IdentifiableFieldValueDto()
public IdentifiableFieldValueDto(java.lang.Integer objectId, java.lang.Integer fieldId, java.lang.Comparable value, java.lang.Integer typeId)
public IdentifiableFieldValueDto(IdentifiableDto object, java.lang.Integer fieldId, java.lang.Comparable value, java.lang.Integer typeId)
public IdentifiableFieldValueDto(IdentifiableFieldValueDto other)
Method Detail |
---|
public java.lang.Integer getFieldId()
public void setFieldId(java.lang.Integer fieldId)
fieldId
- the field to setpublic java.lang.Integer getTypeId()
public void setTypeId(java.lang.Integer typeId)
typeId
- is an optional type discriminator for the valuepublic java.lang.Comparable getValue()
public void setValue(java.lang.Comparable value)
value
- the value to setpublic void setStringValue(java.lang.String value)
value
- is the String value to setpublic java.lang.String getStringValue()
public void setIntValue(java.lang.Integer intval)
intval
- is the Integer value to setpublic java.lang.Integer getIntValue()
public java.lang.Boolean getBooleanValue()
public void setBooleanValue(java.lang.Boolean value)
value
- is the Boolean value to setpublic void setIdentifiableFieldValue(IdentifiableFieldValueDto other)
public boolean equals(java.lang.Object obj)
equals
in class IdentifiableDto
public int hashCode()
hashCode
in class IdentifiableDto
public java.lang.String toString()
toString
in class IdentifiableDto
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
compareTo
in class IdentifiableDto
public static int compareValue(java.lang.Comparable o1, java.lang.Comparable o2)
|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |