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) |
void |
setIndex(Integer index) |
void |
setValue(String value) |
String |
toString() |
IndexedPrimitiveObject |
value(String value) |
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)
public Integer getIndex()
public void setIndex(Integer index)
public IndexedPrimitiveObject value(String value)
public String getValue()
public void setValue(String value)
public boolean equals(Object o)
equals
in class BaseObject
public int hashCode()
hashCode
in class BaseObject
public String toString()
toString
in class BaseObject
Copyright © 2019. All rights reserved.