public class OwCMISPropertyClassProxy<V,C extends OwCMISObjectClass> extends OwCMISAbstractPropertyClass<V,C>
Property class delegate-proxy. Subclasses can customize behavior and/or data handling through method or accessor overriding.
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
Constructor and Description |
---|
OwCMISPropertyClassProxy(String className,
OwCMISPropertyClass<V> propertyClass,
C objectClass) |
Modifier and Type | Method and Description |
---|---|
OwCMISProperty<V> |
from(V... value_p)
Create a new Instance of the specific OwCMISProperty depending on the
current OwCMISPropertyClass.
|
Object |
getDefaultValue() |
String |
getDescription(Locale locale) |
String |
getDisplayName(Locale locale) |
com.wewebu.ow.server.field.OwEnumCollection |
getEnums() |
OwCMISFormat |
getFormat() |
String |
getJavaClassName() |
Object |
getMaxValue() |
Object |
getMinValue() |
Object |
getNativeType() |
String |
getNonQualifiedName()
Returns the non qualified name ( the CMIS definition
name of this property)
|
Collection |
getOperators() |
protected OwCMISPropertyClass<V> |
getPropertyClass() |
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 context) |
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) |
boolean |
isRequired() |
boolean |
isSystem() |
createProxy, getCategory, getClassName, getComplexChildClasses, getFullQualifiedName, getNodeFromValue, getObjectClass, getPreferredPropertyType, getValueFromNode, getValueFromString, isComplex, isEnum, isSystemProperty
Exception
public OwCMISPropertyClassProxy(String className, OwCMISPropertyClass<V> propertyClass, C objectClass)
protected OwCMISPropertyClass<V> getPropertyClass()
public boolean isArray() throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public boolean isHidden(int context) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public boolean isReadOnly(int context) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public String getNonQualifiedName()
OwCMISPropertyClass
public String getQueryName()
OwCMISPropertyClass
see CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
public boolean isQueryable()
OwCMISPropertyClass
see CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
public boolean isOrderable()
OwCMISPropertyClass
see CMIS specification 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
public OwCMISProperty<V> from(V... value_p) throws com.wewebu.ow.server.exceptions.OwException
OwCMISPropertyClass
value_p
- Object the initial value which should be set, can be nullcom.wewebu.ow.server.exceptions.OwException
- if creation of OwCMISProperty failedpublic com.wewebu.ow.server.field.OwEnumCollection getEnums() throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public boolean isSystem() throws com.wewebu.ow.server.exceptions.OwException
isSystem
in class OwCMISAbstractPropertyClass<V,C extends OwCMISObjectClass>
com.wewebu.ow.server.exceptions.OwException
public String getJavaClassName()
public Collection getOperators() throws Exception
Exception
public OwCMISFormat getFormat()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.