|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.slide.common.PropertyName
This class is a container for the name and namespace of a property.
Field Summary | |
protected java.lang.String |
name
The name of the Property. |
protected java.lang.String |
namespace
The namespace of the Property. |
Constructor Summary | |
PropertyName(java.lang.String name)
Creates a PropertyName within the default namespace . |
|
PropertyName(java.lang.String name,
java.lang.String namespace)
Creates a PropertyName. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Returns true if other is a PropertyName
and the name and namespace are equal to this intance' name and namespace. |
java.lang.String |
getName()
Returns the name of the property. |
java.lang.String |
getNamespace()
Returns the namespace of the property. |
int |
hashCode()
Returns the hash code of this instance. |
java.lang.String |
toString()
Returns a String representation of the PropertyName. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String name
protected java.lang.String namespace
Constructor Detail |
public PropertyName(java.lang.String name)
default namespace
.
name
- the name of the Property.public PropertyName(java.lang.String name, java.lang.String namespace)
name
- the name of the Property.namespace
- the namespace of the Property.Method Detail |
public java.lang.String getName()
public java.lang.String getNamespace()
public boolean equals(java.lang.Object other)
true
if other
is a PropertyName
and the name and namespace are equal to this intance' name and namespace.
other
- the Object to test for equality.
true
if the object is equal to this one.public int hashCode()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |