org.apache.tapestry.record
Class SimpleState
java.lang.Object
org.apache.tapestry.record.SimpleState
- All Implemented Interfaces:
- Serializable
public class SimpleState
- extends Object
- implements Serializable
Simple object used for testing object property changes.
- See Also:
- Serialized Form
SimpleState
public SimpleState()
SimpleState
public SimpleState(long id,
String name)
getId
public long getId()
setId
public void setId(long id)
getName
public String getName()
- Returns:
- Returns the name.
setName
public void setName(String name)
- Parameters:
name
- The name to set.
isValid
public boolean isValid()
- Returns:
- Returns the isValid.
setValid
public void setValid(boolean isValid)
- Parameters:
isValid
- The isValid to set.
getDate
public Date getDate()
- Returns:
- Returns the date.
setDate
public void setDate(Date date)
- Parameters:
date
- The date to set.
getKeys
public Map getKeys()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.