|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecm.OwStandardProperty
public class OwStandardProperty
Standard Implementation for object properties.
A property contains the name and value of a object property.
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
Field Summary | |
---|---|
protected OwPropertyClass |
m_PropertyClass
class description of the property |
protected Object |
m_Value
value of the property |
Constructor Summary | |
---|---|
OwStandardProperty(Object value_p,
OwPropertyClass propertyClass_p)
construct Property Object and set members |
Method Summary | |
---|---|
Object |
clone()
create a copy of the object |
int |
compareTo(Object obj_p)
implementation of java.lang.Comparable interface Compares this object with the specified object for order. |
OwFieldDefinition |
getFieldDefinition()
get the corresponding field definition of the field |
Object |
getNativeObject()
get the native object from the ECM system WARNING: The returned object is Opaque. |
OwPropertyClass |
getPropertyClass()
get the class description of the property |
Object |
getValue()
get the value of the property. |
boolean |
isHidden(int iContext_p)
check if property is visible to the user |
boolean |
isReadOnly(int iContext_p)
check if property is read only on the instance level NOTE: isReadOnly is also defined in OwPropertyClass on the class level. |
void |
setValue(Object oValue_p)
set the value of the property. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Object m_Value
protected OwPropertyClass m_PropertyClass
Constructor Detail |
---|
public OwStandardProperty(Object value_p, OwPropertyClass propertyClass_p)
Method Detail |
---|
public Object clone()
clone
in interface OwProperty
clone
in class Object
public int compareTo(Object obj_p)
compareTo
in interface Comparable
obj_p
- the Object to be compared.
public OwPropertyClass getPropertyClass() throws Exception
getPropertyClass
in interface OwProperty
Exception
public OwFieldDefinition getFieldDefinition() throws Exception
getFieldDefinition
in interface OwField
Exception
public Object getValue() throws Exception
getValue
in interface OwField
Exception
public void setValue(Object oValue_p) throws Exception
setValue
in interface OwField
oValue_p
- value of property if property is scalar, or a java.io.List of objects if Property is an array
Exception
public boolean isReadOnly(int iContext_p) throws Exception
isReadOnly
in interface OwProperty
iContext_p
- Context in which the property is read-only as defined by CONTEXT_...
Exception
public boolean isHidden(int iContext_p) throws Exception
isHidden
in interface OwProperty
iContext_p
- Context in which the property is read-only as defined by CONTEXT_...
Exception
public Object getNativeObject() throws Exception
getNativeObject
in interface OwProperty
Exception
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |