com.wewebu.ow.server.ecmimpl.cmis.generic
Class OwCMISPropertyDefinitionBase<L,P extends org.oasis_open.docs.ns.cmis.core._200908.CmisProperty>

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.cmis.generic.OwCMISPropertyDefinitionBase<L,P>
All Implemented Interfaces:
OwCMISPropertyDefinition<L>
Direct Known Subclasses:
OwCMISPropertyBooleanDefinition, OwCMISPropertyDateTimeDefinition, OwCMISPropertyDecimalDefinition, OwCMISPropertyHtmlDefinition, OwCMISPropertyIdDefinition, OwCMISPropertyIntegerDefinition, OwCMISPropertyStringDefinition, OwCMISPropertyUriDefinition

public abstract class OwCMISPropertyDefinitionBase<L,P extends org.oasis_open.docs.ns.cmis.core._200908.CmisProperty>
extends Object
implements OwCMISPropertyDefinition<L>

OwCMISPropertyDefinitionBase.

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


Constructor Summary
OwCMISPropertyDefinitionBase(Class<P> propertyClass_p)
           
 
Method Summary
 OwCMISNativePropertyBinding<L> createBoundProperty(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p)
          Factory interface to create a binding out from given CmisProperty
protected abstract  P createNativeProperty()
           
protected abstract  OwCMISNativePropertyBinding<L> createTypedBoundProperty(P cmisProperty_p)
           
 
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.ecmimpl.cmis.generic.OwCMISPropertyDefinition
getChoice, getMaxValue, getMinValue, getNativeDefinition
 

Constructor Detail

OwCMISPropertyDefinitionBase

public OwCMISPropertyDefinitionBase(Class<P> propertyClass_p)
Method Detail

createNativeProperty

protected abstract P createNativeProperty()

createTypedBoundProperty

protected abstract OwCMISNativePropertyBinding<L> createTypedBoundProperty(P cmisProperty_p)

createBoundProperty

public final OwCMISNativePropertyBinding<L> createBoundProperty(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p)
                                                         throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
Description copied from interface: OwCMISPropertyDefinition
Factory interface to create a binding out from given CmisProperty

Specified by:
createBoundProperty in interface OwCMISPropertyDefinition<L>
Parameters:
cmisProperty_p - CmisProperty, non-null
Returns:
OwCMISNativePropertyBinding
Throws:
com.wewebu.ow.server.exceptions.OwInvalidOperationException - if the native binding could not be created
See Also:
OwCMISNativePropertyBinding


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.