com.sap.portal.httpconnectivity.transformationservice
Class TransformerType

java.lang.Object
  |
  +--com.sap.portal.httpconnectivity.transformationservice.TransformerType

public class TransformerType
extends java.lang.Object

Enumeration class defining the transformers type. There are 4 transformers type

  • BUILT_IN - Transformers supplied by the transformation service
  • PERSISTENT - Transformers supplied by other vendor and always available
  • TEMPORARY - Transformers supplied by other vendor and could be removed by it at any time.
  • PIPE - Transformers that encapsulate other transformers in them. Can be used internally only.


    Field Summary
    static TransformerType BUILT_IN
              Specify that the transformer was supplied by the transformation service
    static TransformerType PERSISTENT
              Specify that the transformer was supplied by TransformersProvider implementor and it can be used always
    static TransformerType PIPE
              Internal use only
    static TransformerType TEMPORARY
              Specify that the transformer was supplied by other vendor that can remove them at any time.
     
    Constructor Summary
    protected TransformerType(int type)
              Creates a new TransformerType object.
     
    Method Summary
     boolean equals(java.lang.Object o)
               
    static TransformerType getTypeByValue(int typeValue)
              Get a TransformerType object according to it's value
     int getValue()
              Get the actual int value of the transformer type
     int hashCode()
               
     
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
     

    Field Detail

    BUILT_IN

    public static final TransformerType BUILT_IN
    Specify that the transformer was supplied by the transformation service

    PERSISTENT

    public static final TransformerType PERSISTENT
    Specify that the transformer was supplied by TransformersProvider implementor and it can be used always

    TEMPORARY

    public static final TransformerType TEMPORARY
    Specify that the transformer was supplied by other vendor that can remove them at any time.

    PIPE

    public static final TransformerType PIPE
    Internal use only
    Constructor Detail

    TransformerType

    protected TransformerType(int type)
    Creates a new TransformerType object.
    Parameters:
    type - the value of the transformer type.
    Method Detail

    getValue

    public int getValue()
    Get the actual int value of the transformer type
    Returns:
    value of transformer type

    equals

    public boolean equals(java.lang.Object o)
    Overrides:
    equals in class java.lang.Object

    hashCode

    public int hashCode()
    Overrides:
    hashCode in class java.lang.Object

    getTypeByValue

    public static TransformerType getTypeByValue(int typeValue)
    Get a TransformerType object according to it's value
    Parameters:
    typeValue - the value of the output transformer type
    Returns:
    the needed transformer type