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.ObjectGraphML key object that was parsed from the input stream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKey.ForTypeEnumeration for the 'for' type of this key.
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringattributeNameprivate java.lang.StringattributeTypeprivate java.lang.StringdefaultValueprivate java.lang.Stringdescriptionprivate Key.ForTypeforTypeprivate java.lang.Stringid
-
Constructor Summary
Constructors Constructor Description Key()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyKey(Metadata metadata)java.lang.StringdefaultValue()java.lang.StringgetAttributeName()java.lang.StringgetAttributeType()java.lang.StringgetDefaultValue()java.lang.StringgetDescription()Key.ForTypegetForType()java.lang.StringgetId()voidsetAttributeName(java.lang.String attributeName)voidsetAttributeType(java.lang.String attributeType)voidsetDefaultValue(java.lang.String defaultValue)voidsetDescription(java.lang.String description)voidsetForType(Key.ForType forType)voidsetId(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)
-
-