|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractExtensionData
org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractTypeDefinition
public abstract class AbstractTypeDefinition
Abstract type definition data implementation.
Constructor Summary | |
---|---|
AbstractTypeDefinition()
|
Method Summary | |
---|---|
void |
addPropertyDefinition(PropertyDefinition<?> propertyDefinition)
Adds a property definition. |
AbstractTypeDefinition |
clone()
|
BaseTypeId |
getBaseTypeId()
Returns the base object type id. |
java.lang.String |
getDescription()
Returns the property description. |
java.lang.String |
getDisplayName()
Returns the display name. |
java.lang.String |
getId()
Returns the type id. |
java.lang.String |
getLocalName()
Returns the local name. |
java.lang.String |
getLocalNamespace()
Returns the local namespace. |
java.lang.String |
getParentTypeId()
Returns the parent type id. |
java.util.Map<java.lang.String,PropertyDefinition<?>> |
getPropertyDefinitions()
Returns the property definitions of this type. |
java.lang.String |
getQueryName()
Returns the query name |
void |
initialize(TypeDefinition typeDefinition)
|
java.lang.Boolean |
isControllableAcl()
Returns if objects of this type are controllable by ACLs. |
java.lang.Boolean |
isControllablePolicy()
Returns if objects of this type are controllable by policies. |
java.lang.Boolean |
isCreatable()
Returns if an object of this type can be created. |
java.lang.Boolean |
isFileable()
Returns if an object of this type can be filed. |
java.lang.Boolean |
isFulltextIndexed()
Returns if this type is full text indexed. |
java.lang.Boolean |
isIncludedInSupertypeQuery()
Returns if this type is included in queries that query the super type. |
java.lang.Boolean |
isQueryable()
Returns if this type is queryable. |
void |
setBaseTypeId(BaseTypeId baseId)
|
void |
setDescription(java.lang.String description)
|
void |
setDisplayName(java.lang.String displayName)
|
void |
setId(java.lang.String id)
|
void |
setIsControllableAcl(java.lang.Boolean isControllableACL)
|
void |
setIsControllablePolicy(java.lang.Boolean isControllablePolicy)
|
void |
setIsCreatable(java.lang.Boolean isCreatable)
|
void |
setIsFileable(java.lang.Boolean isFileable)
|
void |
setIsFulltextIndexed(java.lang.Boolean isFulltextIndexed)
|
void |
setIsIncludedInSupertypeQuery(java.lang.Boolean isIncludedInSupertypeQuery)
|
void |
setIsQueryable(java.lang.Boolean isQueryable)
|
void |
setLocalName(java.lang.String localName)
|
void |
setLocalNamespace(java.lang.String localNamespace)
|
void |
setParentTypeId(java.lang.String parentId)
|
void |
setPropertyDefinitions(java.util.Map<java.lang.String,PropertyDefinition<?>> propertyDefinitions)
|
void |
setQueryName(java.lang.String queryName)
|
java.lang.String |
toString()
|
Methods inherited from class org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractExtensionData |
---|
getExtensions, setExtensions |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.chemistry.opencmis.commons.data.ExtensionsData |
---|
getExtensions, setExtensions |
Constructor Detail |
---|
public AbstractTypeDefinition()
Method Detail |
---|
public void initialize(TypeDefinition typeDefinition)
public java.lang.String getId()
TypeDefinition
getId
in interface TypeDefinition
public void setId(java.lang.String id)
public java.lang.String getLocalName()
TypeDefinition
getLocalName
in interface TypeDefinition
public void setLocalName(java.lang.String localName)
public java.lang.String getLocalNamespace()
TypeDefinition
getLocalNamespace
in interface TypeDefinition
public void setLocalNamespace(java.lang.String localNamespace)
public java.lang.String getQueryName()
TypeDefinition
getQueryName
in interface TypeDefinition
public void setQueryName(java.lang.String queryName)
public java.lang.String getDisplayName()
TypeDefinition
getDisplayName
in interface TypeDefinition
public void setDisplayName(java.lang.String displayName)
public java.lang.String getDescription()
TypeDefinition
getDescription
in interface TypeDefinition
public void setDescription(java.lang.String description)
public BaseTypeId getBaseTypeId()
TypeDefinition
getBaseTypeId
in interface TypeDefinition
public void setBaseTypeId(BaseTypeId baseId)
public java.lang.String getParentTypeId()
TypeDefinition
getParentTypeId
in interface TypeDefinition
null
if the type is a base
typepublic void setParentTypeId(java.lang.String parentId)
public java.lang.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(java.lang.Boolean isCreatable)
public java.lang.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(java.lang.Boolean isFileable)
public java.lang.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(java.lang.Boolean isQueryable)
public java.lang.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(java.lang.Boolean isIncludedInSupertypeQuery)
public java.lang.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(java.lang.Boolean isFulltextIndexed)
public java.lang.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(java.lang.Boolean isControllableACL)
public java.lang.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(java.lang.Boolean isControllablePolicy)
public java.util.Map<java.lang.String,PropertyDefinition<?>> getPropertyDefinitions()
TypeDefinition
getPropertyDefinitions
in interface TypeDefinition
null
if the property
definitions were not requestedpublic void setPropertyDefinitions(java.util.Map<java.lang.String,PropertyDefinition<?>> propertyDefinitions)
public void addPropertyDefinition(PropertyDefinition<?> propertyDefinition)
propertyDefinition
- the property definitionpublic AbstractTypeDefinition clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class AbstractExtensionData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |