All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.uci.ics.jung.io.graphml.Metadata Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2008, The JUNG Authors
 *
 * All rights reserved.
 *
 * This software is open-source under the BSD license; see either
 * "license.txt" or
 * https://github.com/jrtom/jung/blob/master/LICENSE for a description.
 */

package edu.uci.ics.jung.io.graphml;

import java.util.Map;

/**
 * Interface for any GraphML metadata.
 *
 * @author Nathan Mittler - [email protected]
 */
public interface Metadata {

    /**
     * Metadata type enumeration
     */
    enum MetadataType {
        GRAPH, NODE, EDGE, HYPEREDGE, PORT, ENDPOINT
    }

    /**
     * Gets the metadata type of this object.
     * 
     * @return the metadata type
     */
    MetadataType getMetadataType();

    /**
     * Gets any properties that were associated with this metadata in the
     * GraphML
     * 
     * @return GraphML properties
     */
    Map getProperties();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy