com.wewebu.ow.server.ecmimpl.opencmis.property
Class OwCMISNativePropertyImpl<O,T>

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.opencmis.property.OwCMISAbstractProperty<O,OwCMISNativePropertyClass<O,T,? extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>>>
      extended by com.wewebu.ow.server.ecmimpl.opencmis.property.OwCMISNativePropertyImpl<O,T>
All Implemented Interfaces:
com.wewebu.ow.server.ecm.OwProperty, OwCMISNativeProperty<O,T>, OwCMISProperty<O>, com.wewebu.ow.server.field.OwField, Cloneable, Comparable

public class OwCMISNativePropertyImpl<O,T>
extends OwCMISAbstractProperty<O,OwCMISNativePropertyClass<O,T,? extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>>>
implements OwCMISNativeProperty<O,T>

OwCMISNativePropertyImpl.

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
OwCMISNativePropertyImpl(OwCMISNativePropertyClass<O,T,? extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>> propertyClass_p, org.apache.chemistry.opencmis.client.api.Property<T> property_p, OwCMISValueConverter<T,O> converter_p)
           
 
Method Summary
 OwCMISProperty<O> clone()
           
protected  void fromArrayValue(O[] value_p)
           
protected  void fromValue(O value_p)
           
 org.apache.chemistry.opencmis.client.api.Property<T> getNativeObject()
           
protected  O[] toArrayValue()
           
protected  O toValue()
           
 
Methods inherited from class com.wewebu.ow.server.ecmimpl.opencmis.property.OwCMISAbstractProperty
compareTo, getFieldDefinition, getPropertyClass, getValue, isHidden, isReadOnly, setValue, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.wewebu.ow.server.ecmimpl.opencmis.property.OwCMISProperty
getFieldDefinition, getValue, setValue
 
Methods inherited from interface com.wewebu.ow.server.ecm.OwProperty
getPropertyClass, isHidden, isReadOnly
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OwCMISNativePropertyImpl

public OwCMISNativePropertyImpl(OwCMISNativePropertyClass<O,T,? extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>> propertyClass_p,
                                org.apache.chemistry.opencmis.client.api.Property<T> property_p,
                                OwCMISValueConverter<T,O> converter_p)
Method Detail

getNativeObject

public org.apache.chemistry.opencmis.client.api.Property<T> getNativeObject()
Specified by:
getNativeObject in interface com.wewebu.ow.server.ecm.OwProperty
Specified by:
getNativeObject in interface OwCMISNativeProperty<O,T>
Specified by:
getNativeObject in interface OwCMISProperty<O>

toArrayValue

protected O[] toArrayValue()
                    throws com.wewebu.ow.server.exceptions.OwException
Specified by:
toArrayValue in class OwCMISAbstractProperty<O,OwCMISNativePropertyClass<O,T,? extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>>>
Throws:
com.wewebu.ow.server.exceptions.OwException

toValue

protected O toValue()
             throws com.wewebu.ow.server.exceptions.OwException
Specified by:
toValue in class OwCMISAbstractProperty<O,OwCMISNativePropertyClass<O,T,? extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>>>
Throws:
com.wewebu.ow.server.exceptions.OwException

fromValue

protected void fromValue(O value_p)
                  throws com.wewebu.ow.server.exceptions.OwException
Specified by:
fromValue in class OwCMISAbstractProperty<O,OwCMISNativePropertyClass<O,T,? extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>>>
Throws:
com.wewebu.ow.server.exceptions.OwException

fromArrayValue

protected void fromArrayValue(O[] value_p)
                       throws com.wewebu.ow.server.exceptions.OwException
Specified by:
fromArrayValue in class OwCMISAbstractProperty<O,OwCMISNativePropertyClass<O,T,? extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>>>
Throws:
com.wewebu.ow.server.exceptions.OwException

clone

public OwCMISProperty<O> clone()
                        throws CloneNotSupportedException
Specified by:
clone in interface com.wewebu.ow.server.ecm.OwProperty
Specified by:
clone in class OwCMISAbstractProperty<O,OwCMISNativePropertyClass<O,T,? extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T>>>
Throws:
CloneNotSupportedException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.