public abstract class OwCMISAbstractNativePropertyClass<O,N,P extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<N>> extends OwCMISAbstractPropertyClass<O,OwCMISNativeObjectClass<?,?>> implements OwCMISNativePropertyClass<O,N,P>
OwCMISAbstractNativePropertyClass.
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
Type | Property and Description |
---|---|
boolean |
isName |
isSystemProperty
isSystemProperty
Constructor and Description |
---|
OwCMISAbstractNativePropertyClass(String className,
P propertyDefinition,
OwCMISValueConverter<N,O> converter,
Class<O> javaClass,
Collection<Integer> operators,
OwCMISNativeObjectClass<?,?> objectClass) |
Modifier and Type | Method and Description |
---|---|
OwCMISNativeProperty<O,N> |
from(O... value_p)
Create a new Instance of the specific OwCMISProperty depending on the
current OwCMISPropertyClass.
|
OwCMISNativeProperty<O,N> |
from(org.apache.chemistry.opencmis.client.api.Property<N> property_p) |
protected OwCMISValueConverter<N,O> |
getConverter() |
Object |
getDefaultValue() |
String |
getDescription(Locale locale_p) |
String |
getDisplayName(Locale locale_p) |
com.wewebu.ow.server.field.OwEnumCollection |
getEnums() |
String |
getJavaClassName() |
P |
getNativeType() |
String |
getNonQualifiedName()
Returns the non qualified name ( the CMIS definition
name of this property)
|
Collection<Integer> |
getOperators() |
String |
getQueryName()
Returns the specified queryName of the
property which should be used in search request
instead of the id or property name.
|
boolean |
isArray() |
boolean |
isHidden(int iContext_p) |
boolean |
isNameProperty() |
boolean |
isOrderable()
Returns a boolean representation, notifying the possibility of this property to be used in ORDER BY clause.
|
boolean |
isQueryable()
Returns a boolean representation if this property can occur in WHERE clause for filtration.
|
boolean |
isReadOnly(int context_p) |
boolean |
isRequired() |
boolean |
isSystem() |
protected org.apache.chemistry.opencmis.client.api.Property<N> |
newProperty(List<N> nativeValues_p) |
String |
toString() |
createProxy, getCategory, getClassName, getComplexChildClasses, getFullQualifiedName, getNodeFromValue, getObjectClass, getPreferredPropertyType, getValueFromNode, getValueFromString, isComplex, isEnum, isSystemProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getObjectClass
createProxy, getFormat, getFullQualifiedName, isSystemProperty
isNameProperty
in interface com.wewebu.ow.server.ecm.OwPropertyClass
com.wewebu.ow.server.exceptions.OwException
public OwCMISAbstractNativePropertyClass(String className, P propertyDefinition, OwCMISValueConverter<N,O> converter, Class<O> javaClass, Collection<Integer> operators, OwCMISNativeObjectClass<?,?> objectClass)
public final Collection<Integer> getOperators() throws com.wewebu.ow.server.exceptions.OwException
getOperators
in interface com.wewebu.ow.server.field.OwFieldDefinition
com.wewebu.ow.server.exceptions.OwException
protected OwCMISValueConverter<N,O> getConverter()
protected org.apache.chemistry.opencmis.client.api.Property<N> newProperty(List<N> nativeValues_p)
public OwCMISNativeProperty<O,N> from(O... value_p) throws com.wewebu.ow.server.exceptions.OwException
OwCMISPropertyClass
from
in interface OwCMISNativePropertyClass<O,N,P extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<N>>
from
in interface OwCMISPropertyClass<O>
value_p
- Object the initial value which should be set, can be nullcom.wewebu.ow.server.exceptions.OwException
- if creation of OwCMISProperty failedpublic OwCMISNativeProperty<O,N> from(org.apache.chemistry.opencmis.client.api.Property<N> property_p) throws com.wewebu.ow.server.exceptions.OwException
public Object getDefaultValue() throws com.wewebu.ow.server.exceptions.OwException
getDefaultValue
in interface com.wewebu.ow.server.field.OwFieldDefinition
com.wewebu.ow.server.exceptions.OwException
public boolean isSystem() throws com.wewebu.ow.server.exceptions.OwException
isSystem
in class OwCMISAbstractPropertyClass<O,OwCMISNativeObjectClass<?,?>>
com.wewebu.ow.server.exceptions.OwException
public boolean isNameProperty() throws com.wewebu.ow.server.exceptions.OwException
isNameProperty
in interface com.wewebu.ow.server.ecm.OwPropertyClass
com.wewebu.ow.server.exceptions.OwException
public boolean isReadOnly(int context_p) throws com.wewebu.ow.server.exceptions.OwException
isReadOnly
in interface com.wewebu.ow.server.ecm.OwPropertyClass
isReadOnly
in interface OwCMISPropertyClass<O>
com.wewebu.ow.server.exceptions.OwException
public String getDisplayName(Locale locale_p)
getDisplayName
in interface com.wewebu.ow.server.field.OwFieldDefinition
public String getDescription(Locale locale_p)
getDescription
in interface com.wewebu.ow.server.field.OwFieldDefinition
public P getNativeType()
getNativeType
in interface OwCMISNativePropertyClass<O,N,P extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<N>>
getNativeType
in interface com.wewebu.ow.server.field.OwFieldDefinition
public boolean isRequired() throws com.wewebu.ow.server.exceptions.OwException
isRequired
in interface com.wewebu.ow.server.field.OwFieldDefinition
com.wewebu.ow.server.exceptions.OwException
public boolean isArray()
isArray
in interface OwCMISPropertyClass<O>
isArray
in interface com.wewebu.ow.server.field.OwFieldDefinition
public String getNonQualifiedName()
OwCMISPropertyClass
getNonQualifiedName
in interface OwCMISPropertyClass<O>
public String getQueryName()
OwCMISPropertyClass
see CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
getQueryName
in interface OwCMISPropertyClass<O>
public boolean isQueryable()
OwCMISPropertyClass
see CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
isQueryable
in interface OwCMISPropertyClass<O>
public boolean isOrderable()
OwCMISPropertyClass
see CMIS specification 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
isOrderable
in interface OwCMISPropertyClass<O>
public com.wewebu.ow.server.field.OwEnumCollection getEnums() throws com.wewebu.ow.server.exceptions.OwException
getEnums
in interface OwCMISPropertyClass<O>
getEnums
in interface com.wewebu.ow.server.field.OwFieldDefinition
com.wewebu.ow.server.exceptions.OwException
public final String getJavaClassName()
getJavaClassName
in interface com.wewebu.ow.server.field.OwFieldDefinition
public boolean isHidden(int iContext_p) throws com.wewebu.ow.server.exceptions.OwException
isHidden
in interface com.wewebu.ow.server.ecm.OwPropertyClass
isHidden
in interface OwCMISPropertyClass<O>
com.wewebu.ow.server.exceptions.OwException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.