Class BooleanObjectDescription
java.lang.Object
org.jfree.xml.factory.objects.AbstractObjectDescription
org.jfree.xml.factory.objects.BooleanObjectDescription
- All Implemented Interfaces:
Serializable, Cloneable, ObjectDescription
An object-description for a
Boolean object.- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a newBooleanbased on the settings of this description object.booleanTests for equality.inthashCode()Returns a hash code.voidSets the description object parameters to match the supplied object (which should be an instance ofBoolean.
-
Constructor Details
-
BooleanObjectDescription
public BooleanObjectDescription()Creates a new object description.
-
-
Method Details
-
createObject
Creates a newBooleanbased on the settings of this description object.- Returns:
- A
Boolean.
-
setParameterFromObject
Sets the description object parameters to match the supplied object (which should be an instance ofBoolean.- Parameters:
o- the object.- Throws:
ObjectFactoryException- if there is a problem while reading the properties of the given object.
-
equals
Tests for equality.- Specified by:
equalsin interfaceObjectDescription- Overrides:
equalsin classAbstractObjectDescription- Parameters:
o- the object to test.- Returns:
- A boolean.
-
hashCode
Returns a hash code.- Specified by:
hashCodein interfaceObjectDescription- Overrides:
hashCodein classAbstractObjectDescription- Returns:
- A hash code.
-