public class DataItem extends NamedElement
doc, name| Constructor and Description |
|---|
DataItem(String name,
String doc,
TypeRef type,
boolean optional) |
DataItem(String name,
String doc,
TypeRef type,
com.google.gson.JsonElement defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<ModelElement> |
getChildren() |
com.google.gson.JsonElement |
getDefaultValue() |
TypeRef |
getType() |
int |
hashCode() |
boolean |
isOptional() |
void |
setOptional(boolean optional) |
void |
setType(TypeRef type) |
getDoc, getName, setDoc, setName, updateNamepublic TypeRef getType()
public boolean isOptional()
public void setOptional(boolean optional)
public void setType(TypeRef type)
public com.google.gson.JsonElement getDefaultValue()
public int hashCode()
hashCode in class NamedElementpublic boolean equals(Object obj)
equals in class NamedElementpublic List<ModelElement> getChildren()
getChildren in class ModelElementCopyright © 2016. All rights reserved.