Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


oracle.wcps.property
Interface IProperty<T extends java.io.Serializable>

Type Parameters:
T - java type of property value.
All Superinterfaces:
ITimestamped
All Known Implementing Classes:
Property

public interface IProperty<T extends java.io.Serializable>
extends ITimestamped

Represents a single property that encapsulates a name and Serializable value pair. A property is always part of a IPropertySet.


Method Summary
 IPropertyName getName()
          Returns the name of this.
 Type getType()
          Returns the Type of this property.
 T getValue()
          Returns value of this property.
 java.lang.String name()
          Returns the string representation of the name of this.
 void setName(IPropertyName name)
          Sets the given non null name for this.
 void setType(Type type)
          Sets the given type for this.
 void setValue(T value)
          Sets the given value for this property.

 

Methods inherited from interface oracle.wcps.property.ITimestamped
getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn

 

Method Detail

name

java.lang.String name()
Returns the string representation of the name of this.
Returns:
the string representation of the name of this.

getName

IPropertyName getName()
Returns the name of this.
Returns:
the name of this.

setName

void setName(IPropertyName name)
Sets the given non null name for this.
Parameters:
name - a new property name for this.
Throws:
java.lang.IllegalArgumentException - if the name is null.

getValue

T getValue()
Returns value of this property.
Returns:
value of this property.

setValue

void setValue(T value)
Sets the given value for this property.
Parameters:
value - of this property.

getType

Type getType()
Returns the Type of this property. The value type should match this enum Type.
Returns:
the type of this property.

setType

void setType(Type type)
Sets the given type for this. This method is only used by the property service to set the correct type based on this property's value type.
Parameters:
type - an enum type.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


Copyright © 2009, 2012, Oracle and/or its affiliates. All rights reserved.