org.usergrid.persistence.schema
Class EntityInfo

java.lang.Object
  extended by org.usergrid.persistence.schema.EntityInfo

public class EntityInfo
extends Object


Constructor Summary
EntityInfo()
           
 
Method Summary
 String getAliasProperty()
           
 PropertyInfo getAliasPropertyObject()
           
 Set<String> getBasicProperties()
           
 CollectionInfo getCollection(String collectionName)
           
 Map<String,CollectionInfo> getCollections()
           
 Map<String,DictionaryInfo> getDictionaries()
           
 DictionaryInfo getDictionary(String dictionaryName)
           
 Set<String> getIndexedProperties()
           
 Map<String,PropertyInfo> getProperties()
           
 Set<String> getPropertiesIndexedInConnections()
           
 PropertyInfo getProperty(String propertyName)
           
 Set<String> getRequiredProperties()
           
 String getType()
           
 boolean hasCollection(String collectionName)
           
 boolean hasDictionaries()
           
 boolean hasDictionary(String dictionaryName)
           
 boolean hasProperties()
           
 boolean hasProperty(String propertyName)
           
 boolean isIncludedInExport()
           
 boolean isPropertyBasic(String propertyName)
           
 boolean isPropertyFulltextIndexed(String propertyName)
           
 boolean isPropertyIndexed(String propertyName)
           
 boolean isPropertyIndexedInConnections(String propertyName)
           
 boolean isPropertyMutable(String propertyName)
           
 boolean isPropertyRequired(String propertyName)
           
 boolean isPropertyTimestamp(String propertyName)
           
 boolean isPropertyUnique(String propertyName)
           
 boolean isPublic()
           
 void mapCollectors(Schema schema, String entityType)
           
 void setAliasProperty(String nameProperty)
           
 void setCollections(Map<String,CollectionInfo> collections)
           
 void setDictionaries(Map<String,DictionaryInfo> dictionaries)
           
 void setIncludedInExport(boolean includedInExport)
           
 void setProperties(Map<String,PropertyInfo> properties)
           
 void setPublic(boolean publicVisible)
           
 void setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntityInfo

public EntityInfo()
Method Detail

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.