Package org.graphdrawing.graphml
Class KeyType
java.lang.Object
org.graphdrawing.graphml.KeyType
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
FieldsModifier and TypeFieldDescriptionprotected DefaultTypeprotected KeyForTypeprotected Stringprotected KeyTypeTypeprotected Stringprotected Booleanprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attrName property.Gets the value of the attrType property.Gets the value of the default property.getDesc()Gets the value of the desc property.getFor()Gets the value of the for property.getId()Gets the value of the id property.booleanGets the value of the dynamic property.voidsetAttrName(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.voidSets the value of the desc property.voidsetDynamic(Boolean value) Sets the value of the dynamic property.voidsetFor(KeyForType value) Sets the value of the for property.voidSets the value of the id property.
-
Field Details
-
desc
-
_default
-
id
-
dynamic
-
_for
-
attrName
-
attrType
-
-
Constructor Details
-
KeyType
public KeyType()
-
-
Method Details
-
getDesc
Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
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
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
-
isDynamic
public boolean isDynamic()Gets the value of the dynamic property.- Returns:
- possible object is
Boolean
-
setDynamic
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
Gets the value of the attrName property.- Returns:
- possible object is
String
-
setAttrName
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
-