com.sap.sl.sdk.authoring.datafoundation
Enum OuterType

java.lang.Object
  extended by java.lang.Enum<OuterType>
      extended by com.sap.sl.sdk.authoring.datafoundation.OuterType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OuterType>

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

A representation of the literals of the enumeration 'Outer Type', and utility methods to work with them.

It defines the possible types of outer joins. An outer join can be used to link tables when one table contains rows that do not have a match in the common column of the other table.


Enum Constant Summary
OUTER_FULL
          The 'OUTER FULL' literal object.
OUTER_LEFT
          The 'OUTER LEFT' literal object.
OUTER_NONE
          The 'OUTER NONE' literal object.
OUTER_RIGHT
          The 'OUTER RIGHT' literal object.
 
Field Summary
static int OUTER_FULL_VALUE
          The 'OUTER FULL' literal value.
static int OUTER_LEFT_VALUE
          The 'OUTER LEFT' literal value.
static int OUTER_NONE_VALUE
          The 'OUTER NONE' literal value.
static int OUTER_RIGHT_VALUE
          The 'OUTER RIGHT' literal value.
static java.util.List<OuterType> VALUES
          A public read-only list of all the 'Outer Type' enumerators.
 
Method Summary
static OuterType get(int value)
          Returns the 'Outer Type' literal with the specified integer value.
static OuterType get(java.lang.String literal)
          Returns the 'Outer Type' literal with the specified literal value.
static OuterType getByName(java.lang.String name)
          Returns the 'Outer Type' literal with the specified name.
 java.lang.String getLiteral()
          Returns the string representation of the enumerator.
 java.lang.String getName()
          Returns the literal name of the enumerator.
 int getValue()
          Returns the literal integer value of the enumerator.
 java.lang.String toString()
          Returns the literal value of the enumerator, which is its string representation.
static OuterType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OuterType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OUTER_NONE

public static final OuterType OUTER_NONE
The 'OUTER NONE' literal object.

See Also:
OUTER_NONE_VALUE

OUTER_LEFT

public static final OuterType OUTER_LEFT
The 'OUTER LEFT' literal object.

See Also:
OUTER_LEFT_VALUE

OUTER_RIGHT

public static final OuterType OUTER_RIGHT
The 'OUTER RIGHT' literal object.

See Also:
OUTER_RIGHT_VALUE

OUTER_FULL

public static final OuterType OUTER_FULL
The 'OUTER FULL' literal object.

See Also:
OUTER_FULL_VALUE
Field Detail

OUTER_NONE_VALUE

public static final int OUTER_NONE_VALUE
The 'OUTER NONE' literal value.

See Also:
OUTER_NONE, Constant Field Values

OUTER_LEFT_VALUE

public static final int OUTER_LEFT_VALUE
The 'OUTER LEFT' literal value.

See Also:
OUTER_LEFT, Constant Field Values

OUTER_RIGHT_VALUE

public static final int OUTER_RIGHT_VALUE
The 'OUTER RIGHT' literal value.

See Also:
OUTER_RIGHT, Constant Field Values

OUTER_FULL_VALUE

public static final int OUTER_FULL_VALUE
The 'OUTER FULL' literal value.

See Also:
OUTER_FULL, Constant Field Values

VALUES

public static final java.util.List<OuterType> VALUES
A public read-only list of all the 'Outer Type' enumerators.

Method Detail

values

public static OuterType[] 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 (OuterType c : OuterType.values())
    System.out.println(c);

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

valueOf

public static OuterType 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

get

public static OuterType get(java.lang.String literal)
Returns the 'Outer Type' literal with the specified literal value.

Parameters:
literal - The enumerator literal as a string
Returns:
An OuterType object

getByName

public static OuterType getByName(java.lang.String name)
Returns the 'Outer Type' literal with the specified name.

Parameters:
name - The literal name of the enumerator
Returns:
An OuterType object

get

public static OuterType get(int value)
Returns the 'Outer Type' literal with the specified integer value.

Parameters:
value - The literal integer value of the enumerator
Returns:
An OuterType object

getValue

public int getValue()
Returns the literal integer value of the enumerator.

Returns:
An integer that represents the literal

getName

public java.lang.String getName()
Returns the literal name of the enumerator.

Returns:
A String that represents the literal name

getLiteral

public java.lang.String getLiteral()
Returns the string representation of the enumerator.

Returns:
A String that represents the enumerator

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<OuterType>
Returns:
A String that represents the literal


© Copyright 2016 SAP SE or an SAP affiliate company. All rights reserved.