com.wewebu.ow.server.ecmimpl.cmis.generic
Interface OwCMISPropertyDefinition<L>

All Known Implementing Classes:
OwCMISPropertyBooleanDefinition, OwCMISPropertyDateTimeDefinition, OwCMISPropertyDecimalDefinition, OwCMISPropertyDefinitionBase, OwCMISPropertyHtmlDefinition, OwCMISPropertyIdDefinition, OwCMISPropertyIntegerDefinition, OwCMISPropertyStringDefinition, OwCMISPropertyUriDefinition

public interface OwCMISPropertyDefinition<L>

OwCMISPropertyDefinition. Interface for handling the native property definition instances.

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


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
 List<OwCMISChoiceBinding<L>> getChoice()
          Return a list of OwCMISChoiceBinding, if defining a choice list.
 L getMaxValue()
          Return a maximum value if exist, else null should be returned.
 L getMinValue()
          Return a minimum value if exist, else null should be returned.
 org.oasis_open.docs.ns.cmis.core._200908.CmisPropertyDefinitionType getNativeDefinition()
          Return the native type definition object.
 

Method Detail

getNativeDefinition

org.oasis_open.docs.ns.cmis.core._200908.CmisPropertyDefinitionType getNativeDefinition()
Return the native type definition object.

Returns:
CmisPropertyDefinitionType

getChoice

List<OwCMISChoiceBinding<L>> getChoice()
Return a list of OwCMISChoiceBinding, if defining a choice list.

Returns:
List of OwCMISChoiceBindings
See Also:
OwCMISChoiceBinding

createBoundProperty

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

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

getMaxValue

L getMaxValue()
Return a maximum value if exist, else null should be returned.

For type String this method will return null every time

Returns:
<L> type value or null

getMinValue

L getMinValue()
Return a minimum value if exist, else null should be returned.

For type String this method will return null every time

Returns:
<L> type value or null


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.