public class PropertyDeclaration extends BeanElement implements Comparable
PropertyMethodType.GETTER
, it
implicitly defines an property. The qualities of that property are further
qualified by the presence of additional methods that operate on that
property.Type | Property and Description |
---|---|
boolean |
isSuper
Gets the value of the property superProperty.
|
Modifier and Type | Method and Description |
---|---|
boolean |
arrayOrderSensitive() |
int |
compareTo(Object o)
Sort based on getter.
|
boolean |
equals(Object o) |
String |
getAbsoluteType() |
protected String[] |
getAllAnnotationNames()
Avoid using this method.
|
com.bea.util.jam.JAnnotationValue |
getAnnotationValue(AnnotationDefinition tag) |
String |
getComponentImplType()
Attempts to derive the implementation class name corresponding to the component type.
|
protected com.bea.util.jam.JClass |
getComponentJClass() |
String |
getComponentName()
Return the name of a component of this property if the property
represents a list.name if property is a list.
|
String |
getComponentType() |
String |
getDecapitalizedName() |
String |
getDefault() |
PropertyDeclaration |
getDelegatedProperty() |
String |
getDeprecatedString() |
String |
getDerivedDefault() |
String |
getElementNameAnnotation() |
int |
getIndex() |
String |
getInitializer() |
com.bea.util.jam.JClass |
getJClass() |
String |
getJClassAnnotationString(String name) |
String |
getLegalValues() |
String |
getName() |
PostGenValidation[] |
getPostGenValidations() |
String |
getRemoveValidator() |
String |
getRestartsMethod() |
String |
getType() |
String |
getValueFromString(String arg) |
String |
getXMLElementName()
Return XML element name
|
boolean |
hasAddressableComponents() |
boolean |
hasAnnotationListener() |
boolean |
hasComponents()
Deprecated.
Use hasAddressableComponents instead
|
int |
hashCode() |
boolean |
hasRestarts() |
boolean |
hasRestrictiveAccess() |
boolean |
hasTransientOverride() |
boolean |
isAnnotationDefinedOnPropertyInterface(String name) |
boolean |
isArray() |
boolean |
isAttribute()
Return true iff the property is adorned with the attribute
annotation, indicating that it is implemented in the XML schema
as an attribute, as opposed to an element.
|
boolean |
isBean()
Returns true if this property is a desriptor bean or an array (or list of)
desciptor beans.
|
boolean |
isChild() |
boolean |
isConfigurable() |
boolean |
isDeclaredEncrypted() |
boolean |
isDynamic() |
boolean |
isExcludedFromSchema() |
boolean |
isKey() |
boolean |
isKeyChoice() |
boolean |
isKeyComponent() |
boolean |
isMergeRuleIgnoreSourceDefined() |
boolean |
isMergeRuleIgnoreTargetDefined() |
boolean |
isMergeRulePrependDefined() |
boolean |
isPreviouslyPersisted() |
boolean |
isReadOnly() |
boolean |
isReference() |
boolean |
isReferenceable() |
boolean |
isRequired() |
boolean |
isSuperProperty()
Gets the value of the property superProperty.
|
boolean |
isTransient() |
boolean |
needsPostGenValidation() |
void |
setDelegatedProperty(PropertyDeclaration p) |
void |
setRestrictiveAccess() |
String |
toString() |
public boolean isSuperProperty
public String getName()
public String getDecapitalizedName()
public String getType()
public int getIndex()
public boolean isBean()
public boolean isChild()
public boolean isReferenceable()
public boolean isReadOnly()
public boolean isReference()
public boolean isDeclaredEncrypted()
public boolean isTransient()
public boolean isPreviouslyPersisted()
public boolean isExcludedFromSchema()
public String getInitializer()
public boolean isArray()
public boolean hasAddressableComponents()
public boolean hasComponents()
public String getComponentImplType()
PropertyDeclaration.getComponentType()
returns "weblogic.management.configuration.DomainMBean", and beangen
has been told to use a package suffix of "beanimpl" and a suffix of "Impl", this method should return
"weblogic.management.configuration.beanimpl.DomainMBeanImpl".public String getComponentType()
protected com.bea.util.jam.JClass getComponentJClass()
public String getAbsoluteType()
public String getComponentName()
public com.bea.util.jam.JAnnotationValue getAnnotationValue(AnnotationDefinition tag)
getAnnotationValue
in class BeanElement
public PropertyDeclaration getDelegatedProperty()
public void setDelegatedProperty(PropertyDeclaration p)
protected String[] getAllAnnotationNames()
getAllAnnotationNames
in class BeanElement
public com.bea.util.jam.JClass getJClass()
public int compareTo(Object o)
compareTo
in interface Comparable
public boolean hasTransientOverride()
public String getElementNameAnnotation()
public String getXMLElementName()
public boolean isDynamic()
public boolean isAttribute()
public String getDefault()
public String getLegalValues()
public String getDerivedDefault()
public String getRemoveValidator()
public boolean isRequired()
public boolean isConfigurable()
public boolean isKey()
public boolean isKeyChoice()
public boolean isKeyComponent()
public boolean arrayOrderSensitive()
public boolean isMergeRuleIgnoreSourceDefined()
public boolean isMergeRuleIgnoreTargetDefined()
public boolean isMergeRulePrependDefined()
public boolean hasRestarts()
public String getRestartsMethod()
public boolean hasAnnotationListener()
public boolean needsPostGenValidation()
public PostGenValidation[] getPostGenValidations()
public void setRestrictiveAccess()
public boolean hasRestrictiveAccess()
public String getDeprecatedString()
public boolean isAnnotationDefinedOnPropertyInterface(String name)