|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
String |
getLexicalValue()
Returns the value of the 'Lexical Value' attribute |
XSDAttributeUseCategory |
getUse()
Returns the value of the 'Use' attribute. |
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(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(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 |
Method Detail |
public boolean isRequired()
This represents the required infoset property.
setRequired(boolean)
,
XSDPackage.getXSDAttributeUse_Required()
public void setRequired(boolean value)
Required
' attribute.
value
- the new value of the 'Required' attribute.isRequired()
public 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()
public void setValue(Object value)
Value
' attribute.
value
- the new value of the 'Value' attribute.getValue()
public XSDConstraint getConstraint()
XSDConstraint
.
This represents the constraint of the value constraint infoset property.
XSDConstraint
,
isSetConstraint()
,
unsetConstraint()
,
setConstraint(XSDConstraint)
,
XSDPackage.getXSDAttributeUse_Constraint()
public void setConstraint(XSDConstraint value)
Constraint
' attribute.
value
- the new value of the 'Constraint' attribute.XSDConstraint
,
isSetConstraint()
,
unsetConstraint()
,
getConstraint()
public void unsetConstraint()
Constraint
' attribute.
isSetConstraint()
,
getConstraint()
,
setConstraint(XSDConstraint)
public boolean isSetConstraint()
Constraint
' attribute is set.
unsetConstraint()
,
getConstraint()
,
setConstraint(XSDConstraint)
public XSDAttributeUseCategory getUse()
XSDAttributeUseCategory
.
This concrete attribute represents the value of the use attribute.
XSDAttributeUseCategory
,
isSetUse()
,
unsetUse()
,
setUse(XSDAttributeUseCategory)
,
XSDPackage.getXSDAttributeUse_Use()
public void setUse(XSDAttributeUseCategory value)
Use
' attribute.
value
- the new value of the 'Use' attribute.XSDAttributeUseCategory
,
isSetUse()
,
unsetUse()
,
getUse()
public void unsetUse()
Use
' attribute.
isSetUse()
,
getUse()
,
setUse(XSDAttributeUseCategory)
public boolean isSetUse()
Use
' attribute is set.
unsetUse()
,
getUse()
,
setUse(XSDAttributeUseCategory)
public String getLexicalValue()
This concrete attribute represents the value of the default or fixed attribute.
setLexicalValue(String)
,
XSDPackage.getXSDAttributeUse_LexicalValue()
public void setLexicalValue(String value)
Lexical Value
' attribute.
value
- the new value of the 'Lexical Value' attribute.getLexicalValue()
public 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()
public void setAttributeDeclaration(XSDAttributeDeclaration value)
Attribute Declaration
' reference.
value
- the new value of the 'Attribute Declaration' reference.getAttributeDeclaration()
public XSDAttributeDeclaration getContent()
This concrete reference represents the underlying concrete attribute element.
setContent(XSDAttributeDeclaration)
,
XSDPackage.getXSDAttributeUse_Content()
public 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 |