Class Key
Java class for Key complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Key">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Annotation" type="{http://xml.genericode.org/2004/ns/CodeList/0.2/}Annotation" minOccurs="0"/>
<group ref="{http://xml.genericode.org/2004/ns/CodeList/0.2/}NameSet"/>
<element name="ColumnRef" type="{http://xml.genericode.org/2004/ns/CodeList/0.2/}KeyColumnRef" maxOccurs="unbounded"/>
</sequence>
<attGroup ref="{http://xml.genericode.org/2004/ns/CodeList/0.2/}IdDefinition"/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Annotationprotected List<KeyColumnRef>protected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the annotation property.Gets the value of the columnRef property.getId()Gets the value of the id property.Gets the value of the longName property.Gets the value of the shortName property.voidsetAnnotation(Annotation value) Sets the value of the annotation property.voidSets the value of the id property.voidsetShortName(String value) Sets the value of the shortName property.
-
Field Details
-
annotation
-
shortName
-
longName
-
columnRef
-
id
-
-
Constructor Details
-
Key
public Key()
-
-
Method Details
-
getAnnotation
Gets the value of the annotation property.- Returns:
- possible object is
Annotation
-
setAnnotation
Sets the value of the annotation property.- Parameters:
value- allowed object isAnnotation
-
getShortName
Gets the value of the shortName property.- Returns:
- possible object is
String
-
setShortName
Sets the value of the shortName property.- Parameters:
value- allowed object isString
-
getLongName
Gets the value of the longName property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the longName property.For example, to add a new item, do as follows:
getLongName().add(newItem);Objects of the following type(s) are allowed in the list
String -
getColumnRef
Gets the value of the columnRef property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the columnRef property.For example, to add a new item, do as follows:
getColumnRef().add(newItem);Objects of the following type(s) are allowed in the list
KeyColumnRef -
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-