com.hp.ucmdb.api.topology
Enum SelfLinkFilter

java.lang.Object
  extended by java.lang.Enum<SelfLinkFilter>
      extended by com.hp.ucmdb.api.topology.SelfLinkFilter
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SelfLinkFilter>

public enum SelfLinkFilter
extends java.lang.Enum<SelfLinkFilter>

Since:
UCMDB 9.0

Enum Constant Summary
NO_FILTER
          Both self and non-self are allowed.
SELF_LINKS_ONLY
          Only self links are allowed.
WITHOUT_SELF_LINKS
          Only non-self links are allowed.
 
Method Summary
static SelfLinkFilter valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SelfLinkFilter[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SELF_LINKS_ONLY

public static final SelfLinkFilter SELF_LINKS_ONLY
Only self links are allowed. See QueryLink.restrictToSelfLinks().


WITHOUT_SELF_LINKS

public static final SelfLinkFilter WITHOUT_SELF_LINKS
Only non-self links are allowed. See QueryLink.withoutSelfLinks()


NO_FILTER

public static final SelfLinkFilter NO_FILTER
Both self and non-self are allowed.

Method Detail

values

public static SelfLinkFilter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SelfLinkFilter c : SelfLinkFilter.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SelfLinkFilter valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.