new AttributeValue()
Requires
- module:easejs
- module:AttributeType
Members
-
protectedtimestampDate
-
Time when the value was set.
-
protectedvaluestring
-
Methods
-
buildFromAttributeType(_attributeType){AttributeValue}
-
Builds a new AttributeValue from the given type.
Name Type Description _attributeType
AttributeType AttributeType for build process. -
equals(_attributeValue){boolean}
-
Compares this instance with the given one.
Name Type Description _attributeValue
AttributeValue AttributeValue that should be compared -
getAttributeType(){AttributeType}
-
Returns the AttributeType of an AttributeValue.
-
getTimestamp(){string}
-
Returns the timestamp.
-
getValue(){string}
-
Returns the value.
-
setTimestamp(_timestamp)
-
Sets the timestamp.
Name Type Description _timestamp
Date timestamp -
setValue(_value)
-
Sets the value.
Name Type Description _value
string value -
toString(){string}
-
Returns a string that describes the attribute type and its value.
-
withTimestamp(_timestamp){AttributeValue}
-
Builder for timestamp.
Name Type Description _timestamp
Date timestamp -
withValue(_value){AttributeValue}
-
Builder for value.
Name Type Description _value
String value