|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pojomatic.internal.ClassProperties
public class ClassProperties
The properties of a class used for PojomatorImpl.doHashCode(Object)
,
PojomatorImpl.doEquals(Object, Object)
, and PojomatorImpl.doToString(Object)
.
Method Summary | ||
---|---|---|
static
|
createInstance(java.lang.Class<T> pojoClass)
Creates a new instance. |
|
java.util.Collection<PropertyElement> |
getEqualsProperties()
Gets the properties to use for PojomatorImpl.doEquals(Object, Object) . |
|
java.util.Collection<PropertyElement> |
getHashCodeProperties()
Gets the properties to use for PojomatorImpl.doHashCode(Object) . |
|
java.util.Collection<PropertyElement> |
getToStringProperties()
Gets the properties to use for PojomatorImpl.doToString(Object) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.util.Collection<PropertyElement> getEqualsProperties()
PojomatorImpl.doEquals(Object, Object)
.
PojomatorImpl.doEquals(Object, Object)
.public java.util.Collection<PropertyElement> getHashCodeProperties()
PojomatorImpl.doHashCode(Object)
.
PojomatorImpl.doHashCode(Object)
.public java.util.Collection<PropertyElement> getToStringProperties()
PojomatorImpl.doToString(Object)
.
PojomatorImpl.doToString(Object)
.public static <T> ClassProperties createInstance(java.lang.Class<T> pojoClass) throws java.lang.IllegalArgumentException
T
- the type of pojoClass
pojoClass
- the class to inspect
java.lang.IllegalArgumentException
- if pojoClass
has no properties annotated for use
with Pojomatic.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |