org.usergrid.persistence.schema
Class EntityInfo
java.lang.Object
org.usergrid.persistence.schema.EntityInfo
public class EntityInfo
- extends Object
EntityInfo
public EntityInfo()
getType
public String getType()
setType
public void setType(String type)
hasProperty
public boolean hasProperty(String propertyName)
getProperty
public PropertyInfo getProperty(String propertyName)
hasProperties
public boolean hasProperties()
getProperties
public Map<String,PropertyInfo> getProperties()
setProperties
public void setProperties(Map<String,PropertyInfo> properties)
isPropertyMutable
public boolean isPropertyMutable(String propertyName)
isPropertyUnique
public boolean isPropertyUnique(String propertyName)
isPropertyTimestamp
public boolean isPropertyTimestamp(String propertyName)
isPropertyRequired
public boolean isPropertyRequired(String propertyName)
getIndexedProperties
public Set<String> getIndexedProperties()
isPropertyIndexed
public boolean isPropertyIndexed(String propertyName)
isPropertyFulltextIndexed
public boolean isPropertyFulltextIndexed(String propertyName)
getRequiredProperties
public Set<String> getRequiredProperties()
isPropertyIndexedInConnections
public boolean isPropertyIndexedInConnections(String propertyName)
getPropertiesIndexedInConnections
public Set<String> getPropertiesIndexedInConnections()
isPropertyBasic
public boolean isPropertyBasic(String propertyName)
getBasicProperties
public Set<String> getBasicProperties()
hasDictionary
public boolean hasDictionary(String dictionaryName)
getDictionary
public DictionaryInfo getDictionary(String dictionaryName)
hasDictionaries
public boolean hasDictionaries()
getDictionaries
public Map<String,DictionaryInfo> getDictionaries()
setDictionaries
public void setDictionaries(Map<String,DictionaryInfo> dictionaries)
hasCollection
public boolean hasCollection(String collectionName)
getCollection
public CollectionInfo getCollection(String collectionName)
getCollections
public Map<String,CollectionInfo> getCollections()
setCollections
public void setCollections(Map<String,CollectionInfo> collections)
mapCollectors
public void mapCollectors(Schema schema,
String entityType)
getAliasProperty
public String getAliasProperty()
setAliasProperty
public void setAliasProperty(String nameProperty)
getAliasPropertyObject
public PropertyInfo getAliasPropertyObject()
isPublic
public boolean isPublic()
setPublic
public void setPublic(boolean publicVisible)
setIncludedInExport
public void setIncludedInExport(boolean includedInExport)
isIncludedInExport
public boolean isIncludedInExport()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013. All Rights Reserved.