|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.org.usurper.model.SpecificPropertyDefinition
public class SpecificPropertyDefinition
The Class SpecificPropertyDefinition is an immutable value object describing a target specific property.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_PROPERTY_SEPARATOR
|
| Constructor Summary | |
|---|---|
SpecificPropertyDefinition(java.lang.Class<?> targetClass,
java.lang.String targetProperty)
Instantiates a new SpecificPropertyDefinition from a Class object and a property name. |
|
SpecificPropertyDefinition(java.lang.String targetPropertyDescription)
Instantiates a new SpecificPropertyDefinition from a String description. |
|
| Method Summary | |
|---|---|
static java.lang.String |
buildPropertyPathString(java.lang.Class<?> targetClass,
java.lang.String targetPropertyName)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getPropertyPathString()
Gets the property path string. |
java.lang.Class<?> |
getTargetClass()
Gets the target class. |
java.lang.String |
getTargetProperty()
Gets the target property. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_PROPERTY_SEPARATOR
| Constructor Detail |
|---|
public SpecificPropertyDefinition(java.lang.Class<?> targetClass,
java.lang.String targetProperty)
targetClass - the target classtargetProperty - the target propertypublic SpecificPropertyDefinition(java.lang.String targetPropertyDescription)
targetPropertyDescription - the target property description| Method Detail |
|---|
public java.lang.Class<?> getTargetClass()
public java.lang.String getTargetProperty()
public java.lang.String getPropertyPathString()
public static java.lang.String buildPropertyPathString(java.lang.Class<?> targetClass,
java.lang.String targetPropertyName)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||