public class IndexedPrimitiveObject extends BaseObject
Constructor and Description |
---|
IndexedPrimitiveObject() |
IndexedPrimitiveObject(String name,
String type,
Integer index,
String value)
Initializes a new instance of the IndexedPrimitiveObject
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getIndex()
Index of property in list
|
String |
getValue()
Gets or sets the name of a property.
|
int |
hashCode() |
IndexedPrimitiveObject |
index(Integer index)
Set index and return this.
|
void |
setIndex(Integer index)
Set index.
|
void |
setValue(String value)
Set value.
|
String |
toString() |
IndexedPrimitiveObject |
value(String value)
Set value and return this.
|
public IndexedPrimitiveObject()
public IndexedPrimitiveObject(String name, String type, Integer index, String value)
name
- Gets or sets the name of an object.type
- Property type. Used for deserialization purposesindex
- Index of property in listvalue
- Gets or sets the name of a property.public IndexedPrimitiveObject index(Integer index)
index
- Index of property in listpublic Integer getIndex()
public void setIndex(Integer index)
index
- Index of property in listpublic IndexedPrimitiveObject value(String value)
value
- Gets or sets the name of a property.public String getValue()
public void setValue(String value)
value
- Gets or sets the name of a property.public 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.