org.xcmis.client.gwt.model.type
Class TypeDefinition

java.lang.Object
  extended by org.xcmis.client.gwt.model.type.TypeDefinition

public class TypeDefinition
extends Object

Simple plain implementation of TypeDefinition.

Version:
$Id: $
Author:
Andrey Parfonov

Constructor Summary
TypeDefinition()
           
TypeDefinition(String id, EnumBaseObjectTypeIds baseId, String queryName, String localName, String localNamespace, String parentId, String displayName, String description, boolean creatable, boolean fileable, boolean queryable, boolean fulltextIndexed, boolean includedInSupertypeQuery, boolean controllablePolicy, boolean controllableACL, boolean versionable, String[] allowedSourceTypes, String[] allowedTargetTypes, EnumContentStreamAllowed contentStreamAllowed, Map<String,PropertyDefinition<?>> propertyDefinitions)
           
 
Method Summary
 String[] getAllowedSourceTypes()
          
 String[] getAllowedTargetTypes()
          
 EnumBaseObjectTypeIds getBaseId()
          
 EnumContentStreamAllowed getContentStreamAllowed()
          
 String getDescription()
          
 String getDisplayName()
          
 String getId()
          
 String getLocalName()
          
 String getLocalNamespace()
          
 String getParentId()
          
 PropertyDefinition<?> getPropertyDefinition(String id)
          
 Map<String,PropertyDefinition<?>> getPropertyDefinitions()
           
 String getQueryName()
          
 boolean isControllableACL()
          
 boolean isControllablePolicy()
          
 boolean isCreatable()
          
 boolean isFileable()
          
 boolean isFulltextIndexed()
          
 boolean isIncludedInSupertypeQuery()
          
 boolean isQueryable()
          
 boolean isVersionable()
          
 void setAllowedSourceTypes(String[] allowedSourceTypes)
           
 void setAllowedTargetTypes(String[] allowedTargetTypes)
           
 void setBaseId(EnumBaseObjectTypeIds baseId)
           
 void setContentStreamAllowed(EnumContentStreamAllowed contentStreamAllowed)
           
 void setControllableACL(boolean controllableACL)
           
 void setControllablePolicy(boolean controllablePolicy)
           
 void setCreatable(boolean creatable)
           
 void setDescription(String description)
           
 void setDisplayName(String displayName)
           
 void setFileable(boolean fileable)
           
 void setFulltextIndexed(boolean fulltextIndexed)
           
 void setId(String id)
           
 void setIncludedInSupertypeQuery(boolean includedInSupertypeQuery)
           
 void setLocalName(String localName)
           
 void setLocalNamespace(String localNamespace)
           
 void setParentId(String parentId)
           
 void setPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)
           
 void setQueryable(boolean queryable)
           
 void setQueryName(String queryName)
           
 void setVersionable(boolean versionable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeDefinition

public TypeDefinition()

TypeDefinition

public TypeDefinition(String id,
                      EnumBaseObjectTypeIds baseId,
                      String queryName,
                      String localName,
                      String localNamespace,
                      String parentId,
                      String displayName,
                      String description,
                      boolean creatable,
                      boolean fileable,
                      boolean queryable,
                      boolean fulltextIndexed,
                      boolean includedInSupertypeQuery,
                      boolean controllablePolicy,
                      boolean controllableACL,
                      boolean versionable,
                      String[] allowedSourceTypes,
                      String[] allowedTargetTypes,
                      EnumContentStreamAllowed contentStreamAllowed,
                      Map<String,PropertyDefinition<?>> propertyDefinitions)
Method Detail

getId

public String getId()


getBaseId

public EnumBaseObjectTypeIds getBaseId()


getQueryName

public String getQueryName()


getLocalName

public String getLocalName()


getLocalNamespace

public String getLocalNamespace()


getParentId

public String getParentId()


getDisplayName

public String getDisplayName()


getDescription

public String getDescription()


isCreatable

public boolean isCreatable()


isFileable

public boolean isFileable()


isQueryable

public boolean isQueryable()


isFulltextIndexed

public boolean isFulltextIndexed()


isIncludedInSupertypeQuery

public boolean isIncludedInSupertypeQuery()


isControllablePolicy

public boolean isControllablePolicy()


isControllableACL

public boolean isControllableACL()


getContentStreamAllowed

public EnumContentStreamAllowed getContentStreamAllowed()


getAllowedSourceTypes

public String[] getAllowedSourceTypes()


getAllowedTargetTypes

public String[] getAllowedTargetTypes()


isVersionable

public boolean isVersionable()


getPropertyDefinitions

public Map<String,PropertyDefinition<?>> getPropertyDefinitions()
Returns:
the propertyDefinitions

getPropertyDefinition

public PropertyDefinition<?> getPropertyDefinition(String id)


setId

public void setId(String id)

setBaseId

public void setBaseId(EnumBaseObjectTypeIds baseId)

setQueryName

public void setQueryName(String queryName)

setLocalName

public void setLocalName(String localName)

setLocalNamespace

public void setLocalNamespace(String localNamespace)

setParentId

public void setParentId(String parentId)

setDisplayName

public void setDisplayName(String displayName)

setDescription

public void setDescription(String description)

setCreatable

public void setCreatable(boolean creatable)

setFileable

public void setFileable(boolean fileable)

setQueryable

public void setQueryable(boolean queryable)

setFulltextIndexed

public void setFulltextIndexed(boolean fulltextIndexed)

setIncludedInSupertypeQuery

public void setIncludedInSupertypeQuery(boolean includedInSupertypeQuery)

setControllablePolicy

public void setControllablePolicy(boolean controllablePolicy)

setControllableACL

public void setControllableACL(boolean controllableACL)

setVersionable

public void setVersionable(boolean versionable)

setAllowedSourceTypes

public void setAllowedSourceTypes(String[] allowedSourceTypes)

setAllowedTargetTypes

public void setAllowedTargetTypes(String[] allowedTargetTypes)

setContentStreamAllowed

public void setContentStreamAllowed(EnumContentStreamAllowed contentStreamAllowed)

setPropertyDefinitions

public void setPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.