org.jboss.windup.graph.model.resource.Resource Maven / Gradle / Ivy
The newest version!
package org.jboss.windup.graph.model.resource;
import java.util.Iterator;
import org.jboss.windup.graph.model.meta.Meta;
import com.tinkerpop.blueprints.Direction;
import com.tinkerpop.frames.Adjacency;
import com.tinkerpop.frames.VertexFrame;
import com.tinkerpop.frames.modules.typedgraph.TypeField;
import com.tinkerpop.frames.modules.typedgraph.TypeValue;
@TypeField("type")
@TypeValue("BaseResource")
public interface Resource extends VertexFrame {
@Adjacency(label="meta", direction=Direction.OUT)
public Iterator getMeta();
@Adjacency(label="meta", direction=Direction.OUT)
public void addMeta(final Meta resource);
}