Package de.elo.ix.client
Class IndexValue
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.IndexValue
- All Implemented Interfaces:
Serializable
This class is a container for one value of a serializable type. It represents the value of an
index line in aspect objects.
- Since:
- 20.00.000.100
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intValue of an existingColorData.id.protected StringHuman readable representation of value.protected doubleDouble value.protected intValue of an existingIcon.id.protected intInteger value.protected StringString value.
This internal field is shared between several types.protected intType.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags -
Constructor Summary
ConstructorsConstructorDescriptionIndexValue(double v) IndexValue(int v) IndexValue(int type, String v) IndexValue(IndexValue rhs) IndexValue(String v) Sets the type toIndexValueC.TYPE_STRING. -
Method Summary
Modifier and TypeMethodDescriptionbooleanintdoubleintintintgetType()inthashCode()voidsetColorId(int colorId) voidsetDisplayData(String displayData) voidsetDoubleValue(double doubleValue) voidsetFixedPointNumberValue(String value) voidsetIconId(int iconId) voidsetIntValue(int intValue) voidsetIsoDateOnlyValue(String value) voidsetIsoDateTimeValue(String value) voidsetStringValue(String stringValue) voidsetTimeValue(String value) voidsetType(int type) voidsetUserValue(String userGuid) toString()Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
type
protected int typeType. One of the type constants given in IndexValueC.- See Also:
-
intValue
protected int intValueInteger value.- See Also:
-
doubleValue
protected double doubleValueDouble value.- See Also:
-
stringValue
String value.
This internal field is shared between several types.- See Also:
-
displayData
Human readable representation of value. This member is read-only and might not be set in server-side events.
For index fields of typeDocMaskLineC.TYPE_RELATION, this member contains theSord.nameof the referenced Sord.
For index fields of typeAspectLineC.TYPE_STATUS, this member contains, if present, the translated value according to the client's locale. -
colorId
protected int colorIdValue of an existingColorData.id. This field is read-only and valid only forIndexValues of typeIndexValueC.TYPE_STATUS. The Indexserver sets this value to the color Id of the respectiveKeyword.- Since:
- 23.04.000.004
-
iconId
protected int iconIdValue of an existingIcon.id. This field is read-only and valid only forIndexValues of typeIndexValueC.TYPE_STATUS. The Indexserver sets this value to the icon Id of the respectiveIcon- Since:
- 23.04.000.009
-
-
Constructor Details
-
IndexValue
public IndexValue() -
IndexValue
-
IndexValue
public IndexValue(int v) -
IndexValue
public IndexValue(double v) -
IndexValue
Sets the type toIndexValueC.TYPE_STRING. If you want to get another value type, use the constructor with type parameter.- Parameters:
v-
-
IndexValue
-
-
Method Details
-
getType
public int getType() -
setType
public void setType(int type) -
getIntValue
public int getIntValue() -
setIntValue
public void setIntValue(int intValue) -
getDoubleValue
public double getDoubleValue() -
setDoubleValue
public void setDoubleValue(double doubleValue) -
getStringValue
-
setStringValue
-
getIsoDateOnlyValue
-
setIsoDateOnlyValue
-
getIsoDateTimeValue
-
setIsoDateTimeValue
-
getUserValue
-
setUserValue
-
getTimeValue
-
setTimeValue
-
getFixedPointNumberValue
-
setFixedPointNumberValue
-
getDisplayData
-
setDisplayData
-
getColorId
public int getColorId() -
setColorId
public void setColorId(int colorId) -
getIconId
public int getIconId() -
setIconId
public void setIconId(int iconId) -
toString
-
hashCode
public int hashCode() -
equals
-