public abstract class AbstractTypeDefinition extends AbstractExtensionData implements MutableTypeDefinition
| Constructor and Description |
|---|
AbstractTypeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyDefinition(PropertyDefinition<?> propertyDefinition)
Adds or replaces a property definition.
|
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
|
TypeMutability |
getTypeMutability()
Returns type mutability flags.
|
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 |
removeAllPropertyDefinitions()
Removes all property definitions.
|
void |
removePropertyDefinition(String propertyId)
Removes a property definition.
|
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<?>> newPropertyDefinitions) |
void |
setQueryName(String queryName) |
void |
setTypeMutability(TypeMutability typeMutability) |
String |
toString() |
getExtensions, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, setExtensionspublic void initialize(TypeDefinition typeDefinition)
public String getId()
TypeDefinitiongetId in interface TypeDefinitionnullpublic void setId(String id)
setId in interface MutableTypeDefinitionpublic String getLocalName()
TypeDefinitiongetLocalName in interface TypeDefinitionpublic void setLocalName(String localName)
setLocalName in interface MutableTypeDefinitionpublic String getLocalNamespace()
TypeDefinitiongetLocalNamespace in interface TypeDefinitionpublic void setLocalNamespace(String localNamespace)
setLocalNamespace in interface MutableTypeDefinitionpublic String getQueryName()
TypeDefinitiongetQueryName in interface TypeDefinitionpublic void setQueryName(String queryName)
setQueryName in interface MutableTypeDefinitionpublic String getDisplayName()
TypeDefinitiongetDisplayName in interface TypeDefinitionpublic void setDisplayName(String displayName)
setDisplayName in interface MutableTypeDefinitionpublic String getDescription()
TypeDefinitiongetDescription in interface TypeDefinitionpublic void setDescription(String description)
setDescription in interface MutableTypeDefinitionpublic BaseTypeId getBaseTypeId()
TypeDefinitiongetBaseTypeId in interface TypeDefinitionpublic void setBaseTypeId(BaseTypeId baseId)
setBaseTypeId in interface MutableTypeDefinitionpublic String getParentTypeId()
TypeDefinitiongetParentTypeId in interface TypeDefinitionnull if the type is a base typepublic void setParentTypeId(String parentId)
setParentTypeId in interface MutableTypeDefinitionpublic 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)
setIsCreatable in interface MutableTypeDefinitionpublic 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)
setIsFileable in interface MutableTypeDefinitionpublic 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)
setIsQueryable in interface MutableTypeDefinitionpublic 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)
setIsIncludedInSupertypeQuery in interface MutableTypeDefinitionpublic 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)
setIsFulltextIndexed in interface MutableTypeDefinitionpublic 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)
setIsControllableAcl in interface MutableTypeDefinitionpublic 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)
setIsControllablePolicy in interface MutableTypeDefinitionpublic Map<String,PropertyDefinition<?>> getPropertyDefinitions()
TypeDefinitiongetPropertyDefinitions in interface TypeDefinitionnull if the property
definitions were not requestedpublic void setPropertyDefinitions(Map<String,PropertyDefinition<?>> newPropertyDefinitions)
public void addPropertyDefinition(PropertyDefinition<?> propertyDefinition)
MutableTypeDefinitionaddPropertyDefinition in interface MutableTypeDefinitionpublic void removePropertyDefinition(String propertyId)
MutableTypeDefinitionremovePropertyDefinition in interface MutableTypeDefinitionpublic void removeAllPropertyDefinitions()
MutableTypeDefinitionremoveAllPropertyDefinitions in interface MutableTypeDefinitionpublic TypeMutability getTypeMutability()
TypeDefinitiongetTypeMutability in interface TypeDefinitionpublic void setTypeMutability(TypeMutability typeMutability)
setTypeMutability in interface MutableTypeDefinitionpublic String toString()
toString in class AbstractExtensionDataCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.