public abstract class AbstractTypeDefinition extends AbstractExtensionData implements MutableTypeDefinition, Cloneable
Constructor and Description |
---|
AbstractTypeDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyDefinition(PropertyDefinition<?> propertyDefinition)
Adds or replaces 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 |
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, 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)
setId
in interface MutableTypeDefinition
public String getLocalName()
TypeDefinition
getLocalName
in interface TypeDefinition
public void setLocalName(String localName)
setLocalName
in interface MutableTypeDefinition
public String getLocalNamespace()
TypeDefinition
getLocalNamespace
in interface TypeDefinition
public void setLocalNamespace(String localNamespace)
setLocalNamespace
in interface MutableTypeDefinition
public String getQueryName()
TypeDefinition
getQueryName
in interface TypeDefinition
public void setQueryName(String queryName)
setQueryName
in interface MutableTypeDefinition
public String getDisplayName()
TypeDefinition
getDisplayName
in interface TypeDefinition
public void setDisplayName(String displayName)
setDisplayName
in interface MutableTypeDefinition
public String getDescription()
TypeDefinition
getDescription
in interface TypeDefinition
public void setDescription(String description)
setDescription
in interface MutableTypeDefinition
public BaseTypeId getBaseTypeId()
TypeDefinition
getBaseTypeId
in interface TypeDefinition
public void setBaseTypeId(BaseTypeId baseId)
setBaseTypeId
in interface MutableTypeDefinition
public String getParentTypeId()
TypeDefinition
getParentTypeId
in interface TypeDefinition
null
if the type is a base
typepublic void setParentTypeId(String parentId)
setParentTypeId
in interface MutableTypeDefinition
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)
setIsCreatable
in interface MutableTypeDefinition
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)
setIsFileable
in interface MutableTypeDefinition
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)
setIsQueryable
in interface MutableTypeDefinition
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)
setIsIncludedInSupertypeQuery
in interface MutableTypeDefinition
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)
setIsFulltextIndexed
in interface MutableTypeDefinition
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)
setIsControllableAcl
in interface MutableTypeDefinition
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)
setIsControllablePolicy
in interface MutableTypeDefinition
public Map<String,PropertyDefinition<?>> getPropertyDefinitions()
TypeDefinition
getPropertyDefinitions
in interface TypeDefinition
null
if the property
definitions were not requestedpublic void setPropertyDefinitions(Map<String,PropertyDefinition<?>> newPropertyDefinitions)
public void addPropertyDefinition(PropertyDefinition<?> propertyDefinition)
MutableTypeDefinition
addPropertyDefinition
in interface MutableTypeDefinition
public void removePropertyDefinition(String propertyId)
MutableTypeDefinition
removePropertyDefinition
in interface MutableTypeDefinition
public void removeAllPropertyDefinitions()
MutableTypeDefinition
removeAllPropertyDefinitions
in interface MutableTypeDefinition
public TypeMutability getTypeMutability()
TypeDefinition
getTypeMutability
in interface TypeDefinition
public void setTypeMutability(TypeMutability typeMutability)
setTypeMutability
in interface MutableTypeDefinition
public AbstractTypeDefinition clone()
public String toString()
toString
in class AbstractExtensionData
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.