|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.beans.info.plugins.AbstractPropertyInfo
public class AbstractPropertyInfo
Property info.
Field Summary | |
---|---|
protected BeanInfo |
beanInfo
The bean info |
protected MethodInfo |
getter
The getter |
protected String |
name
The property name |
protected MethodInfo |
setter
The setter |
protected TypeInfo |
type
The type |
protected String |
upperName
The upper property name |
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Constructor Summary | |
---|---|
AbstractPropertyInfo()
Create a new property info |
|
AbstractPropertyInfo(String name)
Create a new property info |
|
AbstractPropertyInfo(String name,
String upperName,
TypeInfo type,
MethodInfo getter,
MethodInfo setter)
Create a new property info |
Method Summary | |
---|---|
boolean |
equals(Object object)
|
BeanInfo |
getBeanInfo()
Get the BeanInfo |
MethodInfo |
getGetter()
Get the getter |
int |
getHashCode()
|
String |
getName()
Get the property name |
MethodInfo |
getSetter()
Get the setter |
TypeInfo |
getType()
Get the type |
String |
getUpperName()
Get the uppercase version of the property name |
void |
setGetter(MethodInfo getter)
Set the getter |
void |
setSetter(MethodInfo setter)
Set the setter |
void |
setType(TypeInfo type)
|
void |
toShortString(org.jboss.util.JBossStringBuilder buffer)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
Methods inherited from class org.jboss.util.JBossObject |
---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.util.JBossInterface |
---|
clone, toShortString |
Field Detail |
---|
protected BeanInfo beanInfo
protected String name
protected String upperName
protected TypeInfo type
protected MethodInfo getter
protected MethodInfo setter
Constructor Detail |
---|
public AbstractPropertyInfo()
public AbstractPropertyInfo(String name)
name
- the namepublic AbstractPropertyInfo(String name, String upperName, TypeInfo type, MethodInfo getter, MethodInfo setter)
name
- the nametype
- the typegetter
- the gettersetter
- the setterMethod Detail |
---|
public BeanInfo getBeanInfo()
PropertyInfo
getBeanInfo
in interface PropertyInfo
public String getName()
PropertyInfo
getName
in interface PropertyInfo
public String getUpperName()
PropertyInfo
getUpperName
in interface PropertyInfo
public TypeInfo getType()
PropertyInfo
getType
in interface PropertyInfo
public void setType(TypeInfo type)
public MethodInfo getGetter()
PropertyInfo
getGetter
in interface PropertyInfo
public void setGetter(MethodInfo getter)
PropertyInfo
setGetter
in interface PropertyInfo
getter
- the getterpublic MethodInfo getSetter()
PropertyInfo
getSetter
in interface PropertyInfo
public void setSetter(MethodInfo setter)
PropertyInfo
setSetter
in interface PropertyInfo
setter
- the setterpublic boolean equals(Object object)
equals
in class Object
public void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class org.jboss.util.JBossObject
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString
in interface org.jboss.util.JBossInterface
toShortString
in class org.jboss.util.JBossObject
public int getHashCode()
getHashCode
in class org.jboss.util.JBossObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |