public final class XSElementOrAttrRef
extends java.lang.Object
XSElement,
XSIdentityConstraint| Constructor and Description |
|---|
XSElementOrAttrRef(XSAttribute attribute) |
XSElementOrAttrRef(XSElement element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
XSAttribute |
getAttribute()
Fetches the attribute that this reference refers to.
|
XSElement |
getElement()
Fetches the element that this reference refers to.
|
int |
hashCode() |
boolean |
isAttributeRef()
Returns true if this reference points at an attribute.
|
public XSElementOrAttrRef(XSElement element)
public XSElementOrAttrRef(XSAttribute attribute)
public XSElement getElement()
public XSAttribute getAttribute()
public boolean isAttributeRef()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object