1 /* 2 * Copyright (c) 2008, the JUNG Project and the Regents of the University 3 * of California 4 * All rights reserved. 5 * 6 * This software is open-source under the BSD license; see either 7 * "license.txt" or 8 * http://jung.sourceforge.net/license.txt for a description. 9 */ 10 11 package edu.uci.ics.jung.io.graphml; 12 13 /** 14 * Metadata structure for the 'data' GraphML element. 15 * 16 * @author Nathan Mittler - nathan.mittler@gmail.com 17 * 18 * @see "http://graphml.graphdrawing.org/specification.html" 19 */ 20 public class DataMetadata { 21 22 private String key; 23 private String value; 24 25 public String getKey() { 26 return key; 27 } 28 29 public void setKey(String key) { 30 this.key = key; 31 } 32 33 public String getValue() { 34 return value; 35 } 36 37 public void setValue(String value) { 38 this.value = value; 39 } 40 41 }