public class ModelProperty extends Object implements Comparable<ModelProperty>
| Constructor and Description |
|---|
ModelProperty() |
ModelProperty(String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ModelProperty other) |
List<AllowableValue> |
getAllowableValues() |
String |
getDescription() |
ModelRef |
getItems() |
String |
getName() |
Integer |
getPosition() |
String |
getQualifiedType() |
Boolean |
getRequired() |
String |
getType() |
void |
setAllowableValues(List<AllowableValue> allowableValues) |
void |
setDescription(String description) |
void |
setItems(ModelRef items) |
void |
setPosition(Integer position) |
void |
setQualifiedType(String qualifiedType) |
void |
setRequired(Boolean required) |
void |
setType(String type) |
int |
sortingPosition()
Accessor used for sorting purposes.
|
String |
toString() |
public ModelProperty()
public ModelProperty(String name)
public String getName()
public String getType()
public void setType(String type)
public String getQualifiedType()
public void setQualifiedType(String qualifiedType)
public Integer getPosition()
public void setPosition(Integer position)
public Boolean getRequired()
public void setRequired(Boolean required)
public String getDescription()
public void setDescription(String description)
public List<AllowableValue> getAllowableValues()
public void setAllowableValues(List<AllowableValue> allowableValues)
public ModelRef getItems()
public void setItems(ModelRef items)
public int sortingPosition()
public int compareTo(ModelProperty other)
compareTo in interface Comparable<ModelProperty>Copyright © 2014 FasterXML. All Rights Reserved.