public abstract class AbstractTypeDefinition extends AbstractExtensionData implements TypeDefinition, Cloneable
| Constructor and Description |
|---|
AbstractTypeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyDefinition(PropertyDefinition<?> propertyDefinition)
Adds a property definition.
|
AbstractTypeDefinition |
clone() |
BaseTypeId |
getBaseTypeId()
Returns the base object type id.
|
String |
getDescription()
Returns the property description.
|
String |
getDisplayName()
Returns the display name.
|
String |
getId()
Returns the type id.
|
String |
getLocalName()
Returns the local name.
|
String |
getLocalNamespace()
Returns the local namespace.
|
String |
getParentTypeId()
Returns the parent type id.
|
Map<String,PropertyDefinition<?>> |
getPropertyDefinitions()
Returns the property definitions of this type.
|
String |
getQueryName()
Returns the query name
|
void |
initialize(TypeDefinition typeDefinition) |
Boolean |
isControllableAcl()
Returns if objects of this type are controllable by ACLs.
|
Boolean |
isControllablePolicy()
Returns if objects of this type are controllable by policies.
|
Boolean |
isCreatable()
Returns if an object of this type can be created.
|
Boolean |
isFileable()
Returns if an object of this type can be filed.
|
Boolean |
isFulltextIndexed()
Returns if this type is full text indexed.
|
Boolean |
isIncludedInSupertypeQuery()
Returns if this type is included in queries that query the super type.
|
Boolean |
isQueryable()
Returns if this type is queryable.
|
void |
setBaseTypeId(BaseTypeId baseId) |
void |
setDescription(String description) |
void |
setDisplayName(String displayName) |
void |
setId(String id) |
void |
setIsControllableAcl(Boolean isControllableACL) |
void |
setIsControllablePolicy(Boolean isControllablePolicy) |
void |
setIsCreatable(Boolean isCreatable) |
void |
setIsFileable(Boolean isFileable) |
void |
setIsFulltextIndexed(Boolean isFulltextIndexed) |
void |
setIsIncludedInSupertypeQuery(Boolean isIncludedInSupertypeQuery) |
void |
setIsQueryable(Boolean isQueryable) |
void |
setLocalName(String localName) |
void |
setLocalNamespace(String localNamespace) |
void |
setParentTypeId(String parentId) |
void |
setPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions) |
void |
setQueryName(String queryName) |
String |
toString() |
getExtensions, setExtensionsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, setExtensionspublic void initialize(TypeDefinition typeDefinition)
public String getId()
TypeDefinitiongetId in interface TypeDefinitionpublic void setId(String id)
public String getLocalName()
TypeDefinitiongetLocalName in interface TypeDefinitionpublic void setLocalName(String localName)
public String getLocalNamespace()
TypeDefinitiongetLocalNamespace in interface TypeDefinitionpublic void setLocalNamespace(String localNamespace)
public String getQueryName()
TypeDefinitiongetQueryName in interface TypeDefinitionpublic void setQueryName(String queryName)
public String getDisplayName()
TypeDefinitiongetDisplayName in interface TypeDefinitionpublic void setDisplayName(String displayName)
public String getDescription()
TypeDefinitiongetDescription in interface TypeDefinitionpublic void setDescription(String description)
public BaseTypeId getBaseTypeId()
TypeDefinitiongetBaseTypeId in interface TypeDefinitionpublic void setBaseTypeId(BaseTypeId baseId)
public String getParentTypeId()
TypeDefinitiongetParentTypeId in interface TypeDefinitionnull if the type is a base
typepublic void setParentTypeId(String parentId)
public Boolean isCreatable()
TypeDefinitionisCreatable in interface TypeDefinitiontrue if an object of this type can be created;
false if creation of objects of this type is not
possible; null - unknown (noncompliant repository)public void setIsCreatable(Boolean isCreatable)
public Boolean isFileable()
TypeDefinitionisFileable in interface TypeDefinitiontrue if an object of this type can be filed;
false if an object of this type cannot be filed;
null - unknown (noncompliant repository)public void setIsFileable(Boolean isFileable)
public Boolean isQueryable()
TypeDefinitionisQueryable in interface TypeDefinitiontrue if this type is queryable; false
if this type is not queryable; null - unknown
(noncompliant repository)public void setIsQueryable(Boolean isQueryable)
public Boolean isIncludedInSupertypeQuery()
TypeDefinitionisIncludedInSupertypeQuery in interface TypeDefinitiontrue if this type is included; false if
this type is not included; null - unknown
(noncompliant repository)public void setIsIncludedInSupertypeQuery(Boolean isIncludedInSupertypeQuery)
public Boolean isFulltextIndexed()
TypeDefinitionisFulltextIndexed in interface TypeDefinitiontrue if this type is full text indexed;
false if this type is not full text indexed;
null - unknown (noncompliant repository)public void setIsFulltextIndexed(Boolean isFulltextIndexed)
public Boolean isControllableAcl()
TypeDefinitionisControllableAcl in interface TypeDefinitiontrue if objects are controllable by ACLs;
false if objects are not controllable by ACLs;
null - unknown (noncompliant repository)public void setIsControllableAcl(Boolean isControllableACL)
public Boolean isControllablePolicy()
TypeDefinitionisControllablePolicy in interface TypeDefinitiontrue if objects are controllable by policies;
false if objects are not controllable by policies;
null - unknown (noncompliant repository)public void setIsControllablePolicy(Boolean isControllablePolicy)
public Map<String,PropertyDefinition<?>> getPropertyDefinitions()
TypeDefinitiongetPropertyDefinitions in interface TypeDefinitionnull if the property
definitions were not requestedpublic void setPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)
public void addPropertyDefinition(PropertyDefinition<?> propertyDefinition)
propertyDefinition - the property definitionpublic AbstractTypeDefinition clone()
public String toString()
toString in class AbstractExtensionDataCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.