Class KeyType

java.lang.Object
org.graphdrawing.graphml.KeyType

public class KeyType extends Object
Complex type for the element.

Java class for key.type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="key.type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://graphml.graphdrawing.org/xmlns}desc" minOccurs="0"/>
         <element ref="{http://graphml.graphdrawing.org/xmlns}default" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://graphml.graphdrawing.org/xmlns}key.extra.attrib"/>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="dynamic" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="for" type="{http://graphml.graphdrawing.org/xmlns}key.for.type" default="all" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • KeyType

      public KeyType()
  • Method Details

    • getDesc

      public String getDesc()
      Gets the value of the desc property.
      Returns:
      possible object is String
    • setDesc

      public void setDesc(String value)
      Sets the value of the desc property.
      Parameters:
      value - allowed object is String
    • getDefault

      public DefaultType getDefault()
      Gets the value of the default property.
      Returns:
      possible object is DefaultType
    • setDefault

      public void setDefault(DefaultType value)
      Sets the value of the default property.
      Parameters:
      value - allowed object is DefaultType
    • 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
    • isDynamic

      public boolean isDynamic()
      Gets the value of the dynamic property.
      Returns:
      possible object is Boolean
    • setDynamic

      public void setDynamic(Boolean value)
      Sets the value of the dynamic property.
      Parameters:
      value - allowed object is Boolean
    • getFor

      public KeyForType getFor()
      Gets the value of the for property.
      Returns:
      possible object is KeyForType
    • setFor

      public void setFor(KeyForType value)
      Sets the value of the for property.
      Parameters:
      value - allowed object is KeyForType
    • getAttrName

      public String getAttrName()
      Gets the value of the attrName property.
      Returns:
      possible object is String
    • setAttrName

      public void setAttrName(String value)
      Sets the value of the attrName property.
      Parameters:
      value - allowed object is String
    • getAttrType

      public KeyTypeType getAttrType()
      Gets the value of the attrType property.
      Returns:
      possible object is KeyTypeType
    • setAttrType

      public void setAttrType(KeyTypeType value)
      Sets the value of the attrType property.
      Parameters:
      value - allowed object is KeyTypeType