public class HierarchicalObject extends BaseObject
Constructor and Description |
---|
HierarchicalObject() |
HierarchicalObject(String name,
String type,
List<BaseObject> internalProperties)
Initializes a new instance of the HierarchicalObject
|
Modifier and Type | Method and Description |
---|---|
HierarchicalObject |
addInternalPropertiesItem(BaseObject internalPropertiesItem)
Add an item to internalProperties and return this.
|
boolean |
equals(Object o) |
List<BaseObject> |
getInternalProperties()
List of internal properties
|
int |
hashCode() |
HierarchicalObject |
internalProperties(List<BaseObject> internalProperties)
Set internalProperties and return this.
|
void |
setInternalProperties(List<BaseObject> internalProperties)
Set internalProperties.
|
String |
toString() |
public HierarchicalObject()
public HierarchicalObject(String name, String type, List<BaseObject> internalProperties)
name
- Gets or sets the name of an object.type
- Property type. Used for deserialization purposesinternalProperties
- List of internal propertiespublic HierarchicalObject internalProperties(List<BaseObject> internalProperties)
internalProperties
- List of internal propertiespublic HierarchicalObject addInternalPropertiesItem(BaseObject internalPropertiesItem)
internalPropertiesItem
- An item of: List of internal propertiespublic List<BaseObject> getInternalProperties()
public void setInternalProperties(List<BaseObject> internalProperties)
internalProperties
- List of internal propertiespublic boolean equals(Object o)
equals
in class BaseObject
public int hashCode()
hashCode
in class BaseObject
public String toString()
toString
in class BaseObject
Copyright © 2020. All rights reserved.