|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.api.config.domain.PropertyDefinition
public final class PropertyDefinition
Container of the property information the index provides.
Constructor Summary | |
---|---|
PropertyDefinition(PropertyDescriptor descriptor, Property property) Default constructor. |
Method Summary | |
---|---|
boolean |
equals(Object object) Returns true if the given object is semantically equal to the given object, false otherwise. |
PropertyDescriptor |
getDescriptor() Returns the descriptor of the property. |
Property |
getProperty() Returns the value and location information of the property. |
int |
hashCode() Returns the hash code of the object. |
String |
toString() Provides the properties via reflection for displaying debug information. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyDefinition(PropertyDescriptor descriptor, Property property) throws de.smartics.util.lang.NullArgumentException, IllegalArgumentException
descriptor
- the descriptor of the property.
property
- the value and location information of the property.
de.smartics.util.lang.NullArgumentException
- if
descriptor
or
property
is
null
.
IllegalArgumentException
- if the descriptor and property do not match. They do not match if their property keys differ.
Method Detail |
---|
public PropertyDescriptor getDescriptor()
null
.
public Property getProperty()
null
.
public int hashCode()
hashCode
in class
Object
hashCode()
public boolean equals(Object object)
true
if the given object is semantically equal to the given object,
false
otherwise.
It is assumed that a descriptor with its key is unique. Therefore two definitions are equal, if their descriptor keys are equal, they share the same value and source location of the value.
equals
in class
Object
object
- object the instance to compare to.
true
if the given object is semantically equal to the given object,
false
otherwise.
public String toString()
Provides the properties via reflection for displaying debug information.
toString
in class
Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |