java.lang.Comparable
public class PropertyDeclaration extends BeanElement implements java.lang.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.Modifier and Type | Method | Description |
---|---|---|
boolean |
arrayOrderSensitive() |
|
int |
compareTo(java.lang.Object o) |
Sort based on getter.
|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getAbsoluteType() |
|
protected java.lang.String[] |
getAllAnnotationNames() |
Avoid using this method.
|
com.bea.util.jam.JAnnotationValue |
getAnnotationValue(AnnotationDefinition tag) |
|
java.lang.String |
getComponentImplType() |
Attempts to derive the implementation class name corresponding to the component type.
|
protected com.bea.util.jam.JClass |
getComponentJClass() |
|
java.lang.String |
getComponentName() |
Return the name of a component of this property if the property
represents a list.name if property is a list.
|
java.lang.String |
getComponentType() |
|
java.lang.String |
getDecapitalizedName() |
|
java.lang.String |
getDefault() |
|
PropertyDeclaration |
getDelegatedProperty() |
|
java.lang.String |
getDeprecatedString() |
|
java.lang.String |
getDerivedDefault() |
|
java.lang.String |
getElementNameAnnotation() |
|
int |
getIndex() |
|
java.lang.String |
getInitializer() |
|
com.bea.util.jam.JClass |
getJClass() |
|
java.lang.String |
getJClassAnnotationString(java.lang.String name) |
|
java.lang.String |
getLegalValues() |
|
java.lang.String |
getName() |
|
PostGenValidation[] |
getPostGenValidations() |
|
java.lang.String |
getRemoveValidator() |
|
java.lang.String |
getRestartsMethod() |
|
java.lang.String |
getType() |
|
java.lang.String |
getValueFromString(java.lang.String arg) |
|
java.lang.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(java.lang.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() |
Deprecated.
only used to generate 8.1 config.xml parser
|
boolean |
isTransient() |
|
boolean |
needsPostGenValidation() |
|
void |
setDelegatedProperty(PropertyDeclaration p) |
|
void |
setRestrictiveAccess() |
|
java.lang.String |
toString() |
public java.lang.String getName()
public java.lang.String getDecapitalizedName()
public java.lang.String getType()
public int getIndex()
public boolean isBean()
@Deprecated public boolean isSuperProperty()
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 java.lang.String getInitializer()
public boolean isArray()
public boolean hasAddressableComponents()
@Deprecated public boolean hasComponents()
public java.lang.String getComponentImplType()
For example, if 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 java.lang.String getComponentType()
protected com.bea.util.jam.JClass getComponentJClass()
public java.lang.String getAbsoluteType()
public java.lang.String getComponentName()
public com.bea.util.jam.JAnnotationValue getAnnotationValue(AnnotationDefinition tag)
public PropertyDeclaration getDelegatedProperty()
public void setDelegatedProperty(PropertyDeclaration p)
protected java.lang.String[] getAllAnnotationNames()
public com.bea.util.jam.JClass getJClass()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean hasTransientOverride()
public java.lang.String getValueFromString(java.lang.String arg)
public java.lang.String getElementNameAnnotation()
public java.lang.String getXMLElementName()
public boolean isDynamic()
public boolean isAttribute()
public java.lang.String getDefault()
public java.lang.String getLegalValues()
public java.lang.String getDerivedDefault()
public java.lang.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 java.lang.String getRestartsMethod()
public boolean hasAnnotationListener()
public boolean needsPostGenValidation()
public PostGenValidation[] getPostGenValidations()
public void setRestrictiveAccess()
public boolean hasRestrictiveAccess()
public java.lang.String getDeprecatedString()
public java.lang.String getJClassAnnotationString(java.lang.String name)
public boolean isAnnotationDefinedOnPropertyInterface(java.lang.String name)