Package edu.uci.ics.jung.io.graphml
Class Key
- java.lang.Object
-
- edu.uci.ics.jung.io.graphml.Key
-
public class Key extends java.lang.Object
GraphML key object that was parsed from the input stream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Key.ForType
Enumeration for the 'for' type of this key.
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
attributeName
private java.lang.String
attributeType
private java.lang.String
defaultValue
private java.lang.String
description
private Key.ForType
forType
private java.lang.String
id
-
Constructor Summary
Constructors Constructor Description Key()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyKey(Metadata metadata)
java.lang.String
defaultValue()
java.lang.String
getAttributeName()
java.lang.String
getAttributeType()
java.lang.String
getDefaultValue()
java.lang.String
getDescription()
Key.ForType
getForType()
java.lang.String
getId()
void
setAttributeName(java.lang.String attributeName)
void
setAttributeType(java.lang.String attributeType)
void
setDefaultValue(java.lang.String defaultValue)
void
setDescription(java.lang.String description)
void
setForType(Key.ForType forType)
void
setId(java.lang.String id)
-
-
-
Field Detail
-
id
private java.lang.String id
-
description
private java.lang.String description
-
attributeName
private java.lang.String attributeName
-
attributeType
private java.lang.String attributeType
-
defaultValue
private java.lang.String defaultValue
-
forType
private Key.ForType forType
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getAttributeName
public java.lang.String getAttributeName()
-
setAttributeName
public void setAttributeName(java.lang.String attributeName)
-
getAttributeType
public java.lang.String getAttributeType()
-
setAttributeType
public void setAttributeType(java.lang.String attributeType)
-
getDefaultValue
public java.lang.String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)
-
setId
public void setId(java.lang.String id)
-
setForType
public void setForType(Key.ForType forType)
-
getId
public java.lang.String getId()
-
defaultValue
public java.lang.String defaultValue()
-
getForType
public Key.ForType getForType()
-
applyKey
public void applyKey(Metadata metadata)
-
-