public interface CentraSiteAttribute
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAXOCCURS_1
The maxOccurs setting if this attribute is not multiple.
|
static java.lang.String |
MAXOCCURS_UNBOUNDED
The maxOccurs setting if this attribute is an multiple.
|
static java.lang.String |
MINOCCURS_0
The minOccurs setting if this attribute is not required.
|
static java.lang.String |
MINOCCURS_1
The minOccurs setting if this attribute is required.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDefaultValue()
Gets the default value of this attribute.
|
java.lang.String |
getDescription()
Get the attribute description.
|
java.lang.String |
getDisplayName()
Return the attribute's display name.
|
java.lang.String |
getLocalName()
Return the attribute local name.
|
java.lang.String |
getMaxOccurs()
Returns the maxOccurs setting.
|
java.lang.String |
getMinOccurs()
Return the minOccurs setting.
|
java.lang.String |
getName()
Return the attribute name.
|
boolean |
hasDefaultValue()
Return whether a default value is defined for this attribute.
|
boolean |
isPredefined()
Return whether this attribute is predefined.
|
boolean |
isReadOnly()
Return whether this attribute is readonly.
|
boolean |
isRequired()
Return whether this attribute is required.
|
boolean |
isSystemDefined()
Return whether this attribute is system-defined.
|
boolean |
isUsed()
Return whether this attribute is used by at least one instance of the corresponding type.
|
void |
setDefaultValue(java.lang.Object value)
Set the default value for this attribute.
|
void |
setDescription(java.lang.String description)
Set the attribute description.
|
void |
setMaxOccurs(java.lang.String maxOccurs)
Sets the maxOccurs value.
|
void |
setMinOccurs(java.lang.String minOccurs)
Sets the minOccurs value.
|
void |
setName(java.lang.String name)
Set the attribute name.
|
void |
setReadOnly(boolean readOnly)
Set this attribute's readonly option.
|
void |
setRequired(boolean isRequired)
Sets whether the attribute is Required or not.
|
static final java.lang.String MAXOCCURS_1
static final java.lang.String MAXOCCURS_UNBOUNDED
static final java.lang.String MINOCCURS_0
static final java.lang.String MINOCCURS_1
java.lang.String getName()
java.lang.String getLocalName()
java.lang.String getDisplayName()
void setName(java.lang.String name)
name
- the attribute namejava.lang.String getDescription()
void setDescription(java.lang.String description)
description
- the attribute descriptionjava.lang.String getMinOccurs()
void setMinOccurs(java.lang.String minOccurs)
minOccurs
- the minOccurs valuejava.lang.String getMaxOccurs()
void setMaxOccurs(java.lang.String maxOccurs)
maxOccurs
- the maxOccurs valueboolean isRequired()
void setRequired(boolean isRequired)
isRequired
- true if this attribute needs required value ; false if this attribute does not need required valueboolean isReadOnly()
void setReadOnly(boolean readOnly)
readOnly
- true if this attribute is readonlyboolean hasDefaultValue()
java.lang.Object getDefaultValue()
void setDefaultValue(java.lang.Object value) throws java.lang.Exception
value
- the default value for this attribute. null means no default value.java.lang.Exception
- if an internal error occursboolean isUsed() throws JAXRException
JAXRException
- if an internal error occursboolean isSystemDefined() throws JAXRException
JAXRException
- if an internal error occursboolean isPredefined()