public class MetaItem extends Object implements Serializable
Constructor and Description |
---|
MetaItem(FacetMeta facet) |
MetaItem(FacetMeta facet,
Field f)
Merge Field &
FacetMeta definitions into one MetaItem |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Name to show for field on User interfaces
|
FacetMeta |
getFacetMeta() |
Field |
getField()
Deprecated.
|
Class |
getFieldClassOwner()
If there is a Field get the Class owning the field (= entity class)
|
String |
getFieldName() |
String |
getName()
Convenience method to Extract name from facetMeta (attribute) or fieldName
|
ContentType |
getType()
Convenience method to Extract type from facetMeta or field
|
boolean |
isCollectionType()
Is the type of this meta a collection of inner Content type.
|
void |
setFieldName(String fieldName) |
String |
toString() |
public MetaItem(FacetMeta facet)
public String getFieldName()
public void setFieldName(String fieldName)
public FacetMeta getFacetMeta()
@Deprecated public Field getField()
MetaItem
public String getName()
public String getDisplayName()
public ContentType getType()
public Class getFieldClassOwner()
public boolean isCollectionType()
getType()
actually represents an element within a collelctionCopyright © 2018. All rights reserved.