public class Reference
extends java.lang.Object
Constructor and Description |
---|
Reference(int number,
java.lang.String name,
java.util.List<java.lang.String> types,
boolean qname,
boolean attribute)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
int |
getNumber() |
java.util.List<java.lang.String> |
getTypes() |
boolean |
isAttribute() |
boolean |
isQname() |
java.lang.String |
toString() |
public Reference(int number, java.lang.String name, java.util.List<java.lang.String> types, boolean qname, boolean attribute)
number
- the sequence number used in the bachelor thesisname
- the name of referencetypes
- a list with the possible referenced types or null if only
existence checkqname
- identifies XSD:QName (true) or XSD:IDREF (false)attribute
- identifies whether the reference is an attribute (true) or an
child element (false)public int getNumber()
public java.lang.String getName()
public java.util.List<java.lang.String> getTypes()
public boolean isQname()
public boolean isAttribute()
public java.lang.String toString()
toString
in class java.lang.Object