Modifier and Type | Field and Description |
---|---|
protected XSAnnotationImpl[] | |
protected String | fElementName
name of owning element |
protected int | fFieldCount
Field count. |
protected Field[] | fFields
Fields. |
protected String | fIdentityConstraintName
Identity constraint name. |
protected String | fNamespace
target namespace |
protected int | |
protected Selector | fSelector
Selector. |
protected short | type
type |
Access | Constructor and Description |
---|---|
protected | IdentityConstraint(String namespace, String identityConstraintName, String elemName)
Default constructor. |
Modifier and Type | Method and Description |
---|---|
public void | |
public void | |
public boolean | |
public XSObjectList | getAnnotations()
Implements com. Optional. |
public short | getCategory()
Implements com. {identity-constraint category} One of key, keyref or unique. |
public String | |
public Field | |
public int | |
public StringList | getFieldStrs()
Implements com. {fields} A non-empty list of restricted XPath ([XPath]) expressions. |
public String | |
public String | getName()
Implements com. The |
public String | getNamespace()
Implements com. The namespace URI of this node, or |
public XSNamespaceItem | getNamespaceItem()
Implements com. A namespace schema information item corresponding to the target
namespace of the component, if it is globally declared; or
|
public XSIDCDefinition | getRefKey()
Implements com. {referenced key} Required if {identity-constraint category} is keyref, forbidden otherwise. |
public Selector | |
public String | getSelectorStr()
Implements com. {selector} A restricted XPath ([XPath]) expression |
public short | getType()
Implements com. Get the type of the object, i.e ELEMENT_DECLARATION. |
pack-priv static final Field[] | |
public void | |
public String |
fAnnotations | back to summary |
---|---|
protected XSAnnotationImpl[] fAnnotations |
fElementName | back to summary |
---|---|
protected String fElementName name of owning element |
fFieldCount | back to summary |
---|---|
protected int fFieldCount Field count. |
fFields | back to summary |
---|---|
protected Field[] fFields Fields. |
fIdentityConstraintName | back to summary |
---|---|
protected String fIdentityConstraintName Identity constraint name. |
fNamespace | back to summary |
---|---|
protected String fNamespace target namespace |
fNumAnnotations | back to summary |
---|---|
protected int fNumAnnotations |
fSelector | back to summary |
---|---|
protected Selector fSelector Selector. |
type | back to summary |
---|---|
protected short type type |
IdentityConstraint | back to summary |
---|---|
protected IdentityConstraint(String namespace, String identityConstraintName, String elemName) Default constructor. |
addAnnotation | back to summary |
---|---|
public void addAnnotation(XSAnnotationImpl annotation) |
addField | back to summary |
---|---|
public void addField(Field field) Adds a field. |
equals | back to summary |
---|---|
public boolean equals(IdentityConstraint id) |
getAnnotations | back to summary |
---|---|
public XSObjectList getAnnotations() Implements com. Optional. Annotation. |
getCategory | back to summary |
---|---|
public short getCategory() Implements com. {identity-constraint category} One of key, keyref or unique. |
getElementName | back to summary |
---|---|
public String getElementName() |
getFieldAt | back to summary |
---|---|
public Field getFieldAt(int index) Returns the field at the specified index. |
getFieldCount | back to summary |
---|---|
public int getFieldCount() Returns the field count. |
getFieldStrs | back to summary |
---|---|
public StringList getFieldStrs() Implements com. {fields} A non-empty list of restricted XPath ([XPath]) expressions. |
getIdentityConstraintName | back to summary |
---|---|
public String getIdentityConstraintName() Returns the identity constraint name. |
getName | back to summary |
---|---|
public String getName() Implements com. The |
getNamespace | back to summary |
---|---|
public String getNamespace() Implements com. The namespace URI of this node, or |
getNamespaceItem | back to summary |
---|---|
public XSNamespaceItem getNamespaceItem() Implements com. Doc from com. A namespace schema information item corresponding to the target
namespace of the component, if it is globally declared; or
|
getRefKey | back to summary |
---|---|
public XSIDCDefinition getRefKey() Implements com. {referenced key} Required if {identity-constraint category} is keyref, forbidden otherwise. An identity-constraint definition with {identity-constraint category} equal to key or unique. |
getSelector | back to summary |
---|---|
public Selector getSelector() Returns the selector. |
getSelectorStr | back to summary |
---|---|
public String getSelectorStr() Implements com. {selector} A restricted XPath ([XPath]) expression |
getType | back to summary |
---|---|
public short getType() Implements com. Get the type of the object, i.e ELEMENT_DECLARATION. |
resize | back to summary |
---|---|
pack-priv static final Field[] resize(Field[] oldArray, int newSize) |
setSelector | back to summary |
---|---|
public void setSelector(Selector selector) Sets the selector. |
toString | back to summary |
---|---|
public String toString() Overrides java. Returns a string representation of this object.
|