Skip navigation links

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


oracle.wcps.property.model
Class Property<T extends java.io.Serializable>

java.lang.Object
  extended by oracle.wcps.property.model.Timestamped
      extended by oracle.wcps.property.model.Property<T>

All Implemented Interfaces:
java.io.Serializable, IProperty<T>, ITimestamped

public class Property<T extends java.io.Serializable>
extends Timestamped
implements IProperty<T>, java.io.Serializable

An implementation of IProperty. Use the builder builder() to create an instance of this.

See Also:
Serialized Form

Nested Class Summary
static class Property.Builder<T extends java.io.Serializable>
          The builder used for creating a Property.

 

Method Summary
static
<T extends java.io.Serializable>
Property.Builder<T>
builder()
          Returns an instance of Builder to create a Property.
 void convertValue(Type toType)
           
 boolean equals(java.lang.Object o)
           
 IPropertyName getName()
          Returns the name of this.
 java.lang.Object getRProperty()
           
 Type getType()
          Returns the Type of this property.
 T getValue()
          Returns value of this property.
 int hashCode()
           
 java.lang.String name()
          Returns the string representation of the name of this.
 void setName(IPropertyName propertyName)
          Sets the given non null name for this.
 void setRProperty(java.lang.Object r)
           
 void setType(Type type)
          Sets the given type for this.
 void setValue(T propertyValue)
          Sets the given value for this property.
 java.lang.String toString()
           

 

Methods inherited from class oracle.wcps.property.model.Timestamped
getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

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

 

Method Detail

name

public java.lang.String name()
Description copied from interface: IProperty
Returns the string representation of the name of this.
Specified by:
name in interface IProperty<T extends java.io.Serializable>
Returns:
the string representation of the name of this.

getName

public IPropertyName getName()
Description copied from interface: IProperty
Returns the name of this.
Specified by:
getName in interface IProperty<T extends java.io.Serializable>
Returns:
the name of this.

setName

public void setName(IPropertyName propertyName)
Description copied from interface: IProperty
Sets the given non null name for this.
Specified by:
setName in interface IProperty<T extends java.io.Serializable>
Parameters:
propertyName - a new property name for this.

getValue

public T getValue()
Description copied from interface: IProperty
Returns value of this property.
Specified by:
getValue in interface IProperty<T extends java.io.Serializable>
Returns:
value of this property.

setValue

public void setValue(T propertyValue)
Description copied from interface: IProperty
Sets the given value for this property.
Specified by:
setValue in interface IProperty<T extends java.io.Serializable>
Parameters:
propertyValue - of this property.

getType

public Type getType()
Description copied from interface: IProperty
Returns the Type of this property. The value type should match this enum Type.
Specified by:
getType in interface IProperty<T extends java.io.Serializable>
Returns:
the type of this property.

setType

public void setType(Type type)
Description copied from interface: IProperty
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.
Specified by:
setType in interface IProperty<T extends java.io.Serializable>
Parameters:
type - an enum type.

getRProperty

public java.lang.Object getRProperty()

setRProperty

public void setRProperty(java.lang.Object r)

convertValue

public void convertValue(Type toType)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class Timestamped

hashCode

public int hashCode()
Overrides:
hashCode in class Timestamped

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

builder

public static <T extends java.io.Serializable> Property.Builder<T> builder()
Returns an instance of Builder to create a Property.
Returns:
an instance of Builder

Skip navigation links

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


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