|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSDAttributeUse
A representation of the model object 'Attribute Use'.
The following features are supported:
XSDPackage.getXSDAttributeUse()
Method Summary | |
---|---|
XSDAttributeDeclaration |
getAttributeDeclaration()
Returns the value of the 'Attribute Declaration' reference |
XSDConstraint |
getConstraint()
Returns the value of the 'Constraint' attribute. |
XSDAttributeDeclaration |
getContent()
Returns the value of the 'Content' containment reference |
java.lang.String |
getLexicalValue()
Returns the value of the 'Lexical Value' attribute |
XSDAttributeUseCategory |
getUse()
Returns the value of the 'Use' attribute. |
java.lang.Object |
getValue()
Returns the value of the 'Value' attribute |
boolean |
isRequired()
Returns the value of the 'Required' attribute |
boolean |
isSetConstraint()
Returns whether the value of the ' Constraint ' attribute is set |
boolean |
isSetUse()
Returns whether the value of the ' Use ' attribute is set |
void |
setAttributeDeclaration(XSDAttributeDeclaration value)
Sets the value of the ' Attribute Declaration ' reference |
void |
setConstraint(XSDConstraint value)
Sets the value of the ' Constraint ' attribute |
void |
setContent(XSDAttributeDeclaration value)
Sets the value of the ' Content ' containment reference |
void |
setLexicalValue(java.lang.String value)
Sets the value of the ' Lexical Value ' attribute |
void |
setRequired(boolean value)
Sets the value of the ' Required ' attribute |
void |
setUse(XSDAttributeUseCategory value)
Sets the value of the ' Use ' attribute |
void |
setValue(java.lang.Object value)
Sets the value of the ' Value ' attribute |
void |
unsetConstraint()
Unsets the value of the ' Constraint ' attribute |
void |
unsetUse()
Unsets the value of the ' Use ' attribute |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
boolean isRequired()
This represents the required infoset property.
setRequired(boolean)
,
XSDPackage.getXSDAttributeUse_Required()
void setRequired(boolean value)
Required
' attribute.
value
- the new value of the 'Required' attribute.isRequired()
java.lang.Object getValue()
This represents the value of the
value constraint
infoset property.
It is computed from the lexical value
and should typically not be set directly.
setValue(Object)
,
XSDPackage.getXSDAttributeUse_Value()
void setValue(java.lang.Object value)
Value
' attribute.
value
- the new value of the 'Value' attribute.getValue()
XSDConstraint getConstraint()
XSDConstraint
.
This represents the constraint of the value constraint infoset property.
XSDConstraint
,
isSetConstraint()
,
unsetConstraint()
,
setConstraint(XSDConstraint)
,
XSDPackage.getXSDAttributeUse_Constraint()
void setConstraint(XSDConstraint value)
Constraint
' attribute.
value
- the new value of the 'Constraint' attribute.XSDConstraint
,
isSetConstraint()
,
unsetConstraint()
,
getConstraint()
void unsetConstraint()
Constraint
' attribute.
isSetConstraint()
,
getConstraint()
,
setConstraint(XSDConstraint)
boolean isSetConstraint()
Constraint
' attribute is set.
unsetConstraint()
,
getConstraint()
,
setConstraint(XSDConstraint)
XSDAttributeUseCategory getUse()
XSDAttributeUseCategory
.
This concrete attribute represents the value of the use attribute.
XSDAttributeUseCategory
,
isSetUse()
,
unsetUse()
,
setUse(XSDAttributeUseCategory)
,
XSDPackage.getXSDAttributeUse_Use()
void setUse(XSDAttributeUseCategory value)
Use
' attribute.
value
- the new value of the 'Use' attribute.XSDAttributeUseCategory
,
isSetUse()
,
unsetUse()
,
getUse()
void unsetUse()
Use
' attribute.
isSetUse()
,
getUse()
,
setUse(XSDAttributeUseCategory)
boolean isSetUse()
Use
' attribute is set.
unsetUse()
,
getUse()
,
setUse(XSDAttributeUseCategory)
java.lang.String getLexicalValue()
This concrete attribute represents the value of the default or fixed attribute.
setLexicalValue(String)
,
XSDPackage.getXSDAttributeUse_LexicalValue()
void setLexicalValue(java.lang.String value)
Lexical Value
' attribute.
value
- the new value of the 'Lexical Value' attribute.getLexicalValue()
XSDAttributeDeclaration getAttributeDeclaration()
This represents the
attribute
infoset property.
It is computed from the content
and should typically not be set directly.
setAttributeDeclaration(XSDAttributeDeclaration)
,
XSDPackage.getXSDAttributeUse_AttributeDeclaration()
void setAttributeDeclaration(XSDAttributeDeclaration value)
Attribute Declaration
' reference.
value
- the new value of the 'Attribute Declaration' reference.getAttributeDeclaration()
XSDAttributeDeclaration getContent()
This concrete reference represents the underlying concrete attribute element.
setContent(XSDAttributeDeclaration)
,
XSDPackage.getXSDAttributeUse_Content()
void setContent(XSDAttributeDeclaration value)
Content
' containment reference.
value
- the new value of the 'Content' containment reference.getContent()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |