de.bsvrz.dav.daf.communication.dataRepresentation
Class AttributeBaseValueDataFactory.AttributeValueAdapter.IntegerValueAdapter
java.lang.Object
de.bsvrz.dav.daf.communication.dataRepresentation.AbstractData.TextValue
de.bsvrz.dav.daf.communication.dataRepresentation.AbstractData.NumberValue
de.bsvrz.dav.daf.communication.dataRepresentation.AttributeBaseValueDataFactory.AttributeValueAdapter.NumberValueAdapter
de.bsvrz.dav.daf.communication.dataRepresentation.AttributeBaseValueDataFactory.AttributeValueAdapter.IntegerValueAdapter
- All Implemented Interfaces:
- Data.NumberValue, Data.TextValue
- Direct Known Subclasses:
- AttributeBaseValueDataFactory.AttributeValueAdapter.ScaledValueAdapter, AttributeBaseValueDataFactory.AttributeValueAdapter.UnscaledValueAdapter
- Enclosing class:
- AttributeBaseValueDataFactory.AttributeValueAdapter
private abstract static class AttributeBaseValueDataFactory.AttributeValueAdapter.IntegerValueAdapter
- extends AttributeBaseValueDataFactory.AttributeValueAdapter.NumberValueAdapter
Methods inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.AbstractData.NumberValue |
byteValue, doubleValue, floatValue, intValue, isNumber, isState, longValue, set, set, set, set, shortValue |
_locationDistancePattern
private static Pattern _locationDistancePattern
AttributeBaseValueDataFactory.AttributeValueAdapter.IntegerValueAdapter
private AttributeBaseValueDataFactory.AttributeValueAdapter.IntegerValueAdapter()
getUnscaledLongValue
protected abstract long getUnscaledLongValue()
setUnscaledLongValue
protected abstract void setUnscaledLongValue(long value)
getAttributeType
protected abstract AttributeType getAttributeType()
getName
protected abstract String getName()
getState
protected IntegerValueState getState(long value,
IntegerAttributeType type)
getState
public IntegerValueState getState()
- Description copied from interface:
Data.NumberValue
- Liefert den Wert eines Datums als Werte-Zustand zurück.
- Specified by:
getState
in interface Data.NumberValue
- Overrides:
getState
in class AbstractData.NumberValue
- Returns:
- Werte-Zustand oder
null
, wenn der Wert keinem Wertezustand entspricht.
setText
public void setText(String text)
- Description copied from interface:
Data.TextValue
- Setzt den Wert des Datums auf den im übergebenen Text enthalten Wert.
- Specified by:
setText
in interface Data.TextValue
- Overrides:
setText
in class AbstractData.NumberValue
- Parameters:
text
- Text mit dem zu setzenden Wert.
setState
public void setState(IntegerValueState newState)
- Description copied from interface:
Data.NumberValue
- Setzt das Datum auf den im Werte-Zustand definierten Wert.
- Specified by:
setState
in interface Data.NumberValue
- Overrides:
setState
in class AbstractData.NumberValue
- Parameters:
newState
- Werte-Zustand