Skip navigation links

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


oracle.wcps.property
Interface IAbstractProperty<N extends IName,T extends java.io.Serializable>

All Known Subinterfaces:
IPreference<T>, IProperty<T>
All Known Implementing Classes:
Preference, Property

public interface IAbstractProperty<N extends IName,T extends java.io.Serializable>

Method Summary
 N 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(N 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.

 

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

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

setName

void setName(N 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.9.0)
E15995-08


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