com.wewebu.ow.server.ecmimpl.opencmis.propertyclass
Interface OwCMISNativePropertyClass<V,N,D extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<N>>

All Superinterfaces:
OwCMISPropertyClass<V>, com.wewebu.ow.server.field.OwFieldDefinition, com.wewebu.ow.server.ecm.OwPropertyClass
All Known Subinterfaces:
OwCMISBooleanPropertyClass, OwCMISDateTimePropertyClass, OwCMISDecimalPropertyClass, OwCMISHtmlPropertyClass, OwCMISIdPropertyClass<O>, OwCMISIntegerPropertyClass, OwCMISStringPropertyClass, OwCMISUriPropertyClass
All Known Implementing Classes:
OwCMISAbstractNativePropertyClass, OwCMISBooleanPropertyClassImpl, OwCMISDateTimePropertyClassImpl, OwCMISDecimalPropertyClassImpl, OwCMISHtmlPropertyClassImpl, OwCMISIdPropertyClassImpl, OwCMISIntegerPropertyClassImpl, OwCMISStringPropertyClassImpl, OwCMISUriPropertyClassImpl

public interface OwCMISNativePropertyClass<V,N,D extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<N>>
extends OwCMISPropertyClass<V>

Native property classes are abstractions of property classes that do have a direct CMIS repository representation (an exact , corresponding CMIS object-type exist).

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


Field Summary
 
Fields inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass
CONTEXT_MAX, CONTEXT_NORMAL, CONTEXT_ON_CHECKIN, CONTEXT_ON_CREATE
 
Method Summary
 OwCMISNativeProperty<?,N> from(org.apache.chemistry.opencmis.client.api.Property<N> property_p)
           
 OwCMISNativeProperty<V,N> from(V... value_p)
          Create a new Instance of the specific OwCMISProperty depending on the current OwCMISPropertyClass.
 D getNativeType()
           
 OwCMISNativeObjectClass<?,?> getObjectClass()
          Get the ObjectClassName which is parent of this property.
 
Methods inherited from interface com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISPropertyClass
createProxy, getEnums, getFormat, getFullQualifiedName, getNonQualifiedName, getQueryName, isArray, isHidden, isOrderable, isQueryable, isReadOnly, isSystemProperty
 
Methods inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass
getCategory, isNameProperty
 
Methods inherited from interface com.wewebu.ow.server.field.OwFieldDefinition
getClassName, getComplexChildClasses, getDefaultValue, getDescription, getDisplayName, getJavaClassName, getMaxValue, getMinValue, getNodeFromValue, getOperators, getValueFromNode, getValueFromString, isComplex, isEnum, isRequired
 

Method Detail

getNativeType

D getNativeType()
                                                                                                throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getNativeType in interface com.wewebu.ow.server.field.OwFieldDefinition
Throws:
com.wewebu.ow.server.exceptions.OwException

from

OwCMISNativeProperty<V,N> from(V... value_p)
                               throws com.wewebu.ow.server.exceptions.OwException
Description copied from interface: OwCMISPropertyClass
Create a new Instance of the specific OwCMISProperty depending on the current OwCMISPropertyClass.

Specified by:
from in interface OwCMISPropertyClass<V>
Parameters:
value_p - Object the initial value which should be set, can be null
Returns:
OwCMISProperty with given value, depending on the current property class.
Throws:
com.wewebu.ow.server.exceptions.OwException - if creation of OwCMISProperty failed

from

OwCMISNativeProperty<?,N> from(org.apache.chemistry.opencmis.client.api.Property<N> property_p)
                               throws com.wewebu.ow.server.exceptions.OwException
Throws:
com.wewebu.ow.server.exceptions.OwException

getObjectClass

OwCMISNativeObjectClass<?,?> 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


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.