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
|
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 |
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) |
void |
setTypeMutability(TypeMutability typeMutability) |
String |
toString() |
getExtensions, setExtensions
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtensions, setExtensions
public void initialize(TypeDefinition typeDefinition)
public String getId()
TypeDefinition
getId
in interface TypeDefinition
public void setId(String id)
public String getLocalName()
TypeDefinition
getLocalName
in interface TypeDefinition
public void setLocalName(String localName)
public String getLocalNamespace()
TypeDefinition
getLocalNamespace
in interface TypeDefinition
public void setLocalNamespace(String localNamespace)
public String getQueryName()
TypeDefinition
getQueryName
in interface TypeDefinition
public void setQueryName(String queryName)
public String getDisplayName()
TypeDefinition
getDisplayName
in interface TypeDefinition
public void setDisplayName(String displayName)
public String getDescription()
TypeDefinition
getDescription
in interface TypeDefinition
public void setDescription(String description)
public BaseTypeId getBaseTypeId()
TypeDefinition
getBaseTypeId
in interface TypeDefinition
public void setBaseTypeId(BaseTypeId baseId)
public String getParentTypeId()
TypeDefinition
getParentTypeId
in interface TypeDefinition
null
if the type is a base
typepublic void setParentTypeId(String parentId)
public Boolean isCreatable()
TypeDefinition
isCreatable
in interface TypeDefinition
true
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()
TypeDefinition
isFileable
in interface TypeDefinition
true
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()
TypeDefinition
isQueryable
in interface TypeDefinition
true
if this type is queryable; false
if this type is not queryable; null
- unknown
(noncompliant repository)public void setIsQueryable(Boolean isQueryable)
public Boolean isIncludedInSupertypeQuery()
TypeDefinition
isIncludedInSupertypeQuery
in interface TypeDefinition
true
if this type is included; false
if
this type is not included; null
- unknown
(noncompliant repository)public void setIsIncludedInSupertypeQuery(Boolean isIncludedInSupertypeQuery)
public Boolean isFulltextIndexed()
TypeDefinition
isFulltextIndexed
in interface TypeDefinition
true
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()
TypeDefinition
isControllableAcl
in interface TypeDefinition
true
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()
TypeDefinition
isControllablePolicy
in interface TypeDefinition
true
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()
TypeDefinition
getPropertyDefinitions
in interface TypeDefinition
null
if the property
definitions were not requestedpublic void setPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)
public void addPropertyDefinition(PropertyDefinition<?> propertyDefinition)
propertyDefinition
- the property definitionpublic TypeMutability getTypeMutability()
TypeDefinition
getTypeMutability
in interface TypeDefinition
public void setTypeMutability(TypeMutability typeMutability)
public AbstractTypeDefinition clone()
public String toString()
toString
in class AbstractExtensionData
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.