public class PropertyMetaModel extends Object
Constructor and Description |
---|
PropertyMetaModel(BaseNodeMetaModel containingNodeMetaModel,
String name,
Class<?> type,
Optional<BaseNodeMetaModel> nodeReference,
boolean isOptional,
boolean isNonEmpty,
boolean isNodeList,
boolean isEnumSet,
boolean hasWildcard) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
BaseNodeMetaModel |
getContainingNodeMetaModel() |
String |
getGetterMethodName() |
String |
getMetaModelFieldName()
The name of the field in the containing BaseNodeMetaModel for this property meta model.
|
String |
getName() |
Optional<BaseNodeMetaModel> |
getNodeReference() |
String |
getSetterMethodName() |
Class<?> |
getType() |
String |
getTypeName() |
String |
getTypeNameForGetter() |
String |
getTypeNameForSetter() |
String |
getTypeNameGenerified() |
Object |
getValue(Node node)
Introspects the node to get the value from this field.
|
int |
hashCode() |
boolean |
hasWildcard() |
boolean |
is(Class<? extends Node> c,
String fieldName) |
boolean |
is(String fieldName) |
boolean |
isAttribute() |
boolean |
isEnumSet() |
boolean |
isNode() |
boolean |
isNodeList() |
boolean |
isNonEmpty() |
boolean |
isOptional() |
boolean |
isRequired() |
boolean |
isSingular() |
String |
toString() |
public PropertyMetaModel(BaseNodeMetaModel containingNodeMetaModel, String name, Class<?> type, Optional<BaseNodeMetaModel> nodeReference, boolean isOptional, boolean isNonEmpty, boolean isNodeList, boolean isEnumSet, boolean hasWildcard)
public boolean is(Class<? extends Node> c, String fieldName)
public boolean is(String fieldName)
public String getSetterMethodName()
public String getGetterMethodName()
public BaseNodeMetaModel getContainingNodeMetaModel()
public String getName()
public boolean isNonEmpty()
public Class<?> getType()
public Optional<BaseNodeMetaModel> getNodeReference()
public boolean isOptional()
public boolean isRequired()
public boolean isNodeList()
public boolean isEnumSet()
public boolean hasWildcard()
public boolean isSingular()
public String getTypeNameGenerified()
public String getTypeName()
public String getTypeNameForGetter()
public String getTypeNameForSetter()
public boolean isNode()
public String getMetaModelFieldName()
public boolean isAttribute()
Copyright © 2007–2018. All rights reserved.