org.apache.jetspeed.om.page
Interface Property

All Superinterfaces:
Cloneable

public interface Property
extends Cloneable

Simple interface for storing properties tied to Fragments in a page description

Version:
$Id: Property.java 187219 2004-08-05 23:35:26Z weaver $

Method Summary
 Object clone()
          Create a clone of this object
 int getIntValue()
           getIntValue
 String getLayout()
          Return the name of the layout element concerned by this property.
 String getName()
          Returns the name of the property
 String getValue()
          Return the value of the property encoded as a String
 void setLayout(String layoutName)
          Sets the name of the layout concerned by this property
 void setName(String name)
          Sets the name of this property
 void setValue(String value)
          Sets the value of the property
 

Method Detail

getLayout

public String getLayout()
Return the name of the layout element concerned by this property. Other layouts will not be able to see this property.

Returns:
name the name of the layout

setLayout

public void setLayout(String layoutName)
Sets the name of the layout concerned by this property

Parameters:
layoutName - the name of a layout as defined in the layout component repository

getName

public String getName()
Returns the name of the property

Returns:
the name of the property as String

setName

public void setName(String name)
Sets the name of this property

Parameters:
name - the property name

getValue

public String getValue()
Return the value of the property encoded as a String

Returns:
the string value of the property

getIntValue

public int getIntValue()

getIntValue

Returns:
the string value of the property as an int

setValue

public void setValue(String value)
Sets the value of the property

Parameters:
value - the value of the property

clone

public Object clone()
             throws CloneNotSupportedException
Create a clone of this object

Throws:
CloneNotSupportedException


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.