java.lang.Object
org.genericode.xml._2004.ns.codelist._0.Key

public class Key extends Object
Definition of a 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 Details

  • Constructor Details

    • Key

      public Key()
  • Method Details

    • getAnnotation

      public Annotation getAnnotation()
      Gets the value of the annotation property.
      Returns:
      possible object is Annotation
    • setAnnotation

      public void setAnnotation(Annotation value)
      Sets the value of the annotation property.
      Parameters:
      value - allowed object is Annotation
    • getShortName

      public String getShortName()
      Gets the value of the shortName property.
      Returns:
      possible object is String
    • setShortName

      public void setShortName(String value)
      Sets the value of the shortName property.
      Parameters:
      value - allowed object is String
    • getLongName

      public List<String> 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 set method 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

      public List<KeyColumnRef> 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 set method 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

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String