public class StructPropertyValue extends PropertyValue
| 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 |
|---|---|
PropertyValue |
cloneFromSubclass()
Delegate the process of cloning to the subclass.
|
boolean |
equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
|
ElementProperties |
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(ElementProperties 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.
|
getTypeName, mapValuesAsObject, mapValuesAsString, setTypeNamepublic StructPropertyValue()
public StructPropertyValue(StructPropertyValue template)
template - StructPropertyValue to copy.public PropertyValue cloneFromSubclass()
cloneFromSubclass in class PropertyValuepublic String valueAsString()
valueAsString in class PropertyValuepublic Object valueAsObject()
valueAsObject in class PropertyValuepublic ElementProperties getAttributes()
public void setAttributes(ElementProperties attributes)
attributes - ElementProperties iteratorpublic String toString()
toString in class PropertyValuepublic boolean equals(Object objectToCompare)
equals in class PropertyValueobjectToCompare - objectpublic int hashCode()
hashCode in class PropertyValueCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.