|
Betty v1.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchristophedelory.betty.xml.Child
christophedelory.betty.xml.IdDetails
christophedelory.betty.xml.PropertyDetails
public class PropertyDetails
A property as a key - value pair.
Constructor Summary | |
---|---|
PropertyDetails()
|
Method Summary | |
---|---|
void |
accept(XmlVisitor visitor)
Accepts the specified XML visitor. |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this property. |
String |
getValue()
Returns the value of this property. |
int |
hashCode()
Returns a hash code value for this property. |
void |
setValue(String value)
Sets the value of this property. |
Methods inherited from class christophedelory.betty.xml.IdDetails |
---|
addDescription, addLink, findDescriptionByLocale, findLinkByLocale, getDescriptions, getId, getLinks, setId |
Methods inherited from class christophedelory.betty.xml.Child |
---|
getParent, getRoot, getRoot, getVersion, setParent, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyDetails()
Method Detail |
---|
public String getValue()
setValue(String)
public void setValue(String value)
value
- a property's value.
NullPointerException
- if value
is null
.getValue()
public void accept(XmlVisitor visitor) throws Exception
IdDetails
accept
in class IdDetails
visitor
- a visitor. Shall not be null
.
NullPointerException
- if visitor
is null
.
Exception
- if any error occurs during the visit.public int hashCode()
Hashtable
.
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.
true
if this object is a PropertyDetails
instance and the keys are equal; false
otherwise.IdDetails.getId()
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |