com.wewebu.ow.server.ecmimpl.opencmis.propertyclass
Class OwCMISAbstractPropertyClass<V,C extends OwCMISObjectClass>
java.lang.Object
com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISAbstractPropertyClass<V,C>
- All Implemented Interfaces:
- com.wewebu.ow.server.ecm.OwPropertyClass, OwCMISPropertyClass<V>, com.wewebu.ow.server.field.OwFieldDefinition
- Direct Known Subclasses:
- OwCMISAbstractNativePropertyClass, OwCMISDelegateVirtualPropertyClass, OwCMISPropertyClassProxy
public abstract class OwCMISAbstractPropertyClass<V,C extends OwCMISObjectClass>
- extends Object
- implements OwCMISPropertyClass<V>
OwCMISAbstractPropertyClass.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Fields inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass |
CONTEXT_MAX, CONTEXT_NORMAL, CONTEXT_ON_CHECKIN, CONTEXT_ON_CREATE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass |
isNameProperty |
Methods inherited from interface com.wewebu.ow.server.field.OwFieldDefinition |
getDefaultValue, getDescription, getDisplayName, getJavaClassName, getMaxValue, getMinValue, getNativeType, getOperators, isRequired |
OwCMISAbstractPropertyClass
public OwCMISAbstractPropertyClass(String className,
C objectClass)
getCategory
public String getCategory()
- Specified by:
getCategory
in interface com.wewebu.ow.server.ecm.OwPropertyClass
getClassName
public final String getClassName()
- Specified by:
getClassName
in interface com.wewebu.ow.server.field.OwFieldDefinition
isEnum
public boolean isEnum()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
isEnum
in interface com.wewebu.ow.server.field.OwFieldDefinition
- Throws:
com.wewebu.ow.server.exceptions.OwException
getValueFromNode
public Object getValueFromNode(Node node_p)
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
getValueFromNode
in interface com.wewebu.ow.server.field.OwFieldDefinition
- Throws:
com.wewebu.ow.server.exceptions.OwException
getValueFromString
public Object getValueFromString(String text_p)
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
getValueFromString
in interface com.wewebu.ow.server.field.OwFieldDefinition
- Throws:
com.wewebu.ow.server.exceptions.OwException
getNodeFromValue
public Node getNodeFromValue(Object value_p,
Document doc_p)
- Specified by:
getNodeFromValue
in interface com.wewebu.ow.server.field.OwFieldDefinition
getComplexChildClasses
public List<?> getComplexChildClasses()
- Specified by:
getComplexChildClasses
in interface com.wewebu.ow.server.field.OwFieldDefinition
isComplex
public boolean isComplex()
- Specified by:
isComplex
in interface com.wewebu.ow.server.field.OwFieldDefinition
getObjectClass
public C getObjectClass()
- Description copied from interface:
OwCMISPropertyClass
- Get the ObjectClassName which is
parent of this property.
- Specified by:
getObjectClass
in interface OwCMISPropertyClass<V>
- Returns:
- String id/name of object class
getFullQualifiedName
public OwCMISQualifiedName getFullQualifiedName()
- Description copied from interface:
OwCMISPropertyClass
- Returns the full qualified name
which is created from the
OwCMISPropertyClass.getObjectClass()
class name
and the OwCMISPropertyClass.getNonQualifiedName()
, separated with an
'.' (dot) between the names.
- Specified by:
getFullQualifiedName
in interface OwCMISPropertyClass<V>
- Returns:
OwCMISQualifiedName
representing the full qualified name
createProxy
public OwCMISPropertyClass<V> createProxy(String className)
- Specified by:
createProxy
in interface OwCMISPropertyClass<V>
isSystem
protected abstract boolean isSystem()
throws com.wewebu.ow.server.exceptions.OwException
- Throws:
com.wewebu.ow.server.exceptions.OwException
isSystemProperty
public final boolean isSystemProperty()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
isSystemProperty
in interface com.wewebu.ow.server.ecm.OwPropertyClass
- Specified by:
isSystemProperty
in interface OwCMISPropertyClass<V>
- Throws:
com.wewebu.ow.server.exceptions.OwException
getPreferredPropertyType
protected OwCMISPreferredPropertyTypeCfg.PropertyType getPreferredPropertyType()
throws com.wewebu.ow.server.exceptions.OwException
- Throws:
com.wewebu.ow.server.exceptions.OwException
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.