public class StructPropertyValue extends InstancePropertyValue
| Constructor and Description |
|---|
StructPropertyValue()
Default constructor set StructPropertyValue to null.
|
StructPropertyValue(StructPropertyValue template)
Copy/clone constructor sets up the values based on the template.
|
| Modifier and Type | Method and Description |
|---|---|
InstancePropertyValue |
cloneFromSubclass()
Delegate the process of cloning to the subclass.
|
boolean |
equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
|
InstanceProperties |
getAttributes()
Return the attributes that make up the fields of the struct.
|
int |
hashCode()
Return a hash code based on the property values
|
void |
setAttributes(InstanceProperties attributes)
Set up the attributes that make up the fields of the struct.
|
String |
toString()
Standard toString method.
|
Object |
valueAsObject()
Return the object version of the value - used for comparisons.
|
String |
valueAsString()
Return the string version of the value - used for error logging.
|
getInstancePropertyCategory, getTypeGUID, getTypeName, mapValuesAsObject, mapValuesAsString, setInstancePropertyCategory, setTypeGUID, setTypeNamepublic StructPropertyValue()
public StructPropertyValue(StructPropertyValue template)
template - StructPropertyValue to copy.public InstancePropertyValue cloneFromSubclass()
cloneFromSubclass in class InstancePropertyValuepublic String valueAsString()
valueAsString in class InstancePropertyValuepublic Object valueAsObject()
valueAsObject in class InstancePropertyValuepublic InstanceProperties getAttributes()
public void setAttributes(InstanceProperties attributes)
attributes - InstanceProperties iteratorpublic String toString()
toString in class InstancePropertyValuepublic boolean equals(Object objectToCompare)
equals in class InstancePropertyValueobjectToCompare - objectpublic int hashCode()
hashCode in class InstancePropertyValueCopyright © 2018–2019 ODPi. All rights reserved.