public enum RelationshipTypeEnum extends Enum<RelationshipTypeEnum>
| Enum Constant and Description |
|---|
CONTENT2CONTENT |
USER2CONTENT |
USER2USER |
| Modifier and Type | Method and Description |
|---|---|
static RelationshipTypeEnum |
getRelationshipType(RelationDescriptor relationDescriptor)
Returns type of relationship based on relation descriptor.
|
static RelationshipTypeEnum |
getRelationshipType(RelationDescriptor relationDescriptor,
boolean throwOnError)
Returns type of relationship based on relation descriptor.
|
static RelationshipTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationshipTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationshipTypeEnum CONTENT2CONTENT
public static final RelationshipTypeEnum USER2CONTENT
public static final RelationshipTypeEnum USER2USER
public static RelationshipTypeEnum[] values()
for (RelationshipTypeEnum c : RelationshipTypeEnum.values()) System.out.println(c);
public static RelationshipTypeEnum 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 static RelationshipTypeEnum getRelationshipType(RelationDescriptor relationDescriptor)
relationDescriptor - RelationDescriptorpublic static RelationshipTypeEnum getRelationshipType(RelationDescriptor relationDescriptor, boolean throwOnError)
relationDescriptor - RelationDescriptorCopyright © 2003–2016 Atlassian. All rights reserved.