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

com.activitystream.Predefined Maven / Gradle / Ivy

package com.activitystream;

public class Predefined {
    public static Role ACTOR(Entity ent) {
        return new Role("ACTOR", ent);
    }

    public static Role CREATES(Entity ent) {
        return new Role("CREATES", ent);
    }

    public static Role AFFECTS(Entity ent) {
        return new Role("AFFECTS", ent);
    }

    public static Role SOLD_TO(Entity ent) {
        return new Role("SOLD_TO", ent);
    }

    public static Role SOLD_BY(Entity ent) {
        return new Role("SOLD_BY", ent);
    }

    public static Role INVOLVES(Entity ent) {
        return new Role("INVOLVES", ent);
    }

    public static Role OBSERVED(Entity ent) {
        return new Role("OBSERVED", ent);
    }

    public static Role REFERENCES(Entity ent) {
        return new Role("REFERENCES", ent);
    }

    public static Role TRANSACTION(Entity ent) {
        return new Role("TRANSACTION", ent);
    }

    public static Role PURCHASED(Entity ent) {
        return new Role("PURCHASED", ent);
    }

    public static LinkType AKA = new LinkType("AKA");
    public static LinkType MEMBER_OF = new LinkType("MEMBER_OF");
    public static LinkType PART_OF = new LinkType("PART_OF");
    public static LinkType PROXY_FOR = new LinkType("PROXY_FOR");
    public static LinkType BELONGS_TO = new LinkType("BELONGS_TO");
    public static LinkType SUPPLIED_BY = new LinkType("SUPPLIED_BY");
    public static LinkType LOCATED_AT = new LinkType("LOCATED_AT");

    public static EntityType EMAIL = new EntityType("Email");
    public static EntityType TWITTER = new EntityType("Twitter");
    public static EntityType PERSON = new EntityType("Person");
    public static EntityType EMPLOYEE = new EntityType("Employee");


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy