org.eclipse.emf.cdo.transfer
Class CDOTransferType

java.lang.Object
  extended by org.eclipse.emf.cdo.transfer.CDOTransferType
All Implemented Interfaces:
Comparable<CDOTransferType>
Direct Known Subclasses:
CDOTransferType.Text

public class CDOTransferType
extends Object
implements Comparable<CDOTransferType>

Specifies how to treat a source element when it is mapped to a target element by a transfer mapping.

Since:
4.2
No Extend
This class is not intended to be subclassed by clients.

Nested Class Summary
static class CDOTransferType.Text
          A transfer type for text elements that have a special encoding.
 
Field Summary
static CDOTransferType BINARY
           
static CDOTransferType FOLDER
           
static CDOTransferType MODEL
           
static Map<String,CDOTransferType> REGISTRY
           
static CDOTransferType.Text UTF8
           
 
Method Summary
 int compareTo(CDOTransferType o)
           
 boolean equals(Object obj)
           
 int hashCode()
           
static CDOTransferType.Text text(String encoding)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FOLDER

public static final CDOTransferType FOLDER

MODEL

public static final CDOTransferType MODEL

BINARY

public static final CDOTransferType BINARY

UTF8

public static final CDOTransferType.Text UTF8

REGISTRY

public static final Map<String,CDOTransferType> REGISTRY
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(CDOTransferType o)
Specified by:
compareTo in interface Comparable<CDOTransferType>

text

public static CDOTransferType.Text text(String encoding)


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.