public enum MembershipRelation extends Enum<MembershipRelation>
| Enum Constant and Description |
|---|
HAS_MEMBER
Use the
http://www.w3.org/ns/ldp#hasMemberRelation relation. |
IS_MEMBER_OF
Use the
http://www.w3.org/ns/ldp#isMemberOfRelation relation. |
| Modifier and Type | Method and Description |
|---|---|
Term |
term()
Return the
Term from the LDP vocabulary that represents the
membership relation. |
URI |
toURI()
Return the
URI that represents the membership relation. |
static MembershipRelation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MembershipRelation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MembershipRelation HAS_MEMBER
http://www.w3.org/ns/ldp#hasMemberRelation relation.public static final MembershipRelation IS_MEMBER_OF
http://www.w3.org/ns/ldp#isMemberOfRelation relation.public static MembershipRelation[] values()
for (MembershipRelation c : MembershipRelation.values()) System.out.println(c);
public static MembershipRelation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Term term()
Term from the LDP vocabulary that represents the
membership relation.Term from the LDP vocabulary that represents the
membership relation.
Copyright (C) 2014-2016, Center for Open Middleware