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
_default
protected KeyForType
_for
protected java.lang.String
attrName
protected KeyTypeType
attrType
protected java.lang.String
desc
protected java.lang.Boolean
dynamic
protected java.lang.String
id
-
Constructor Summary
Constructors Constructor Description KeyType()
-
Method Summary
Modifier and Type Method Description java.lang.String
getAttrName()
Gets the value of the attrName property.KeyTypeType
getAttrType()
Gets the value of the attrType property.DefaultType
getDefault()
Gets the value of the default property.java.lang.String
getDesc()
Gets the value of the desc property.KeyForType
getFor()
Gets the value of the for property.java.lang.String
getId()
Gets the value of the id property.boolean
isDynamic()
Gets the value of the dynamic property.void
setAttrName(java.lang.String value)
Sets the value of the attrName property.void
setAttrType(KeyTypeType value)
Sets the value of the attrType property.void
setDefault(DefaultType value)
Sets the value of the default property.void
setDesc(java.lang.String value)
Sets the value of the desc property.void
setDynamic(java.lang.Boolean value)
Sets the value of the dynamic property.void
setFor(KeyForType value)
Sets the value of the for property.void
setId(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
-