|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OwObjectLinkRelation>
com.wewebu.ow.server.ecm.OwObjectLinkRelation
public enum OwObjectLinkRelation
Enumeration of direction/relation types for an Link.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Enum Constant Summary | |
---|---|
BOTH
object is both [rare cases] |
|
INBOUND
object is target of link (relation) |
|
NONE
Not part of link (relation) |
|
OUTBOUND
object is source of link (relation) |
Method Summary | |
---|---|
OwString |
getDisplayName()
|
boolean |
match(OwObjectLink link,
OwObject object)
|
boolean |
sameDirection(OwObjectLink link,
OwObject object)
|
static OwObjectLinkRelation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OwObjectLinkRelation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OwObjectLinkRelation NONE
public static final OwObjectLinkRelation INBOUND
public static final OwObjectLinkRelation OUTBOUND
public static final OwObjectLinkRelation BOTH
Method Detail |
---|
public static OwObjectLinkRelation[] values()
for (OwObjectLinkRelation c : OwObjectLinkRelation.values()) System.out.println(c);
public static OwObjectLinkRelation valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic OwString getDisplayName()
public boolean match(OwObjectLink link, OwObject object)
public boolean sameDirection(OwObjectLink link, OwObject object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |