public class IndexedHierarchicalObject extends BaseObject
Constructor and Description |
---|
IndexedHierarchicalObject() |
IndexedHierarchicalObject(String name,
String type,
Integer index,
List<BaseObject> internalProperties)
Initializes a new instance of the IndexedHierarchicalObject
|
Modifier and Type | Method and Description |
---|---|
IndexedHierarchicalObject |
addInternalPropertiesItem(BaseObject internalPropertiesItem)
Add an item to internalProperties and return this.
|
boolean |
equals(Object o) |
Integer |
getIndex()
Index of property in list
|
List<BaseObject> |
getInternalProperties()
List of internal properties
|
int |
hashCode() |
IndexedHierarchicalObject |
index(Integer index)
Set index and return this.
|
IndexedHierarchicalObject |
internalProperties(List<BaseObject> internalProperties)
Set internalProperties and return this.
|
void |
setIndex(Integer index)
Set index.
|
void |
setInternalProperties(List<BaseObject> internalProperties)
Set internalProperties.
|
String |
toString() |
public IndexedHierarchicalObject()
public IndexedHierarchicalObject(String name, String type, Integer index, List<BaseObject> internalProperties)
name
- Gets or sets the name of an object.type
- Property type. Used for deserialization purposesindex
- Index of property in listinternalProperties
- List of internal propertiespublic IndexedHierarchicalObject index(Integer index)
index
- Index of property in listpublic Integer getIndex()
public void setIndex(Integer index)
index
- Index of property in listpublic IndexedHierarchicalObject internalProperties(List<BaseObject> internalProperties)
internalProperties
- List of internal propertiespublic IndexedHierarchicalObject 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.