Package org.graphdrawing.graphml
Class KeyType
java.lang.Object
org.graphdrawing.graphml.KeyType
public class KeyType
extends java.lang.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 Summary
Fields Modifier and Type Field Description protected DefaultType_defaultprotected KeyForType_forprotected java.lang.StringattrNameprotected KeyTypeTypeattrTypeprotected java.lang.Stringdescprotected java.lang.Booleandynamicprotected java.lang.Stringid -
Constructor Summary
Constructors Constructor Description KeyType() -
Method Summary
Modifier and Type Method Description java.lang.StringgetAttrName()Gets the value of the attrName property.KeyTypeTypegetAttrType()Gets the value of the attrType property.DefaultTypegetDefault()Gets the value of the default property.java.lang.StringgetDesc()Gets the value of the desc property.KeyForTypegetFor()Gets the value of the for property.java.lang.StringgetId()Gets the value of the id property.booleanisDynamic()Gets the value of the dynamic property.voidsetAttrName(java.lang.String value)Sets the value of the attrName property.voidsetAttrType(KeyTypeType value)Sets the value of the attrType property.voidsetDefault(DefaultType value)Sets the value of the default property.voidsetDesc(java.lang.String value)Sets the value of the desc property.voidsetDynamic(java.lang.Boolean value)Sets the value of the dynamic property.voidsetFor(KeyForType value)Sets the value of the for property.voidsetId(java.lang.String value)Sets the value of the id property.
-
Field Details
-
Constructor Details
-
KeyType
public KeyType()
-
-
Method Details
-
getDesc
public java.lang.String getDesc()Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
public void setDesc(java.lang.String value)Sets the value of the desc property.- Parameters:
value- allowed object isString
-
getDefault
Gets the value of the default property.- Returns:
- possible object is
DefaultType
-
setDefault
Sets the value of the default property.- Parameters:
value- allowed object isDefaultType
-
getId
public java.lang.String getId()Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
isDynamic
public boolean isDynamic()Gets the value of the dynamic property.- Returns:
- possible object is
Boolean
-
setDynamic
public void setDynamic(java.lang.Boolean value)Sets the value of the dynamic property.- Parameters:
value- allowed object isBoolean
-
getFor
Gets the value of the for property.- Returns:
- possible object is
KeyForType
-
setFor
Sets the value of the for property.- Parameters:
value- allowed object isKeyForType
-
getAttrName
public java.lang.String getAttrName()Gets the value of the attrName property.- Returns:
- possible object is
String
-
setAttrName
public void setAttrName(java.lang.String value)Sets the value of the attrName property.- Parameters:
value- allowed object isString
-
getAttrType
Gets the value of the attrType property.- Returns:
- possible object is
KeyTypeType
-
setAttrType
Sets the value of the attrType property.- Parameters:
value- allowed object isKeyTypeType
-