Enum Class AssociationType
- All Implemented Interfaces:
Serializable
,Comparable<AssociationType>
,Constable
Lists all possible types of associations between two documents.
- Author:
- Jens Riemschneider
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn entry that is appended to another one.An entry that is a member of another one.An entry that represents a link to the On-Demand DocumentEntry.An entry that represents an association which is used as a flag to avoid the versioning of an updated document.An entry that replaced another one.An entry that represents a signature of another one.An entry that represents an association for submit association trigger.An entry that transforms another one.An entry that transforms and replaces another one.An entry that represents an association for update availability status trigger. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getOpcode30
(AssociationType type) null
-safe version ofgetOpcode30()
.boolean
static AssociationType
Returns the enum constant of this class with the specified name.static AssociationType
valueOfOpcode30
(String opcode) Returns the association type that is represented by the given opcode.static AssociationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPEND
An entry that is appended to another one. -
REPLACE
An entry that replaced another one. -
TRANSFORM
An entry that transforms another one. -
TRANSFORM_AND_REPLACE
An entry that transforms and replaces another one. -
HAS_MEMBER
An entry that is a member of another one. -
SIGNS
An entry that represents a signature of another one. -
IS_SNAPSHOT_OF
An entry that represents a link to the On-Demand DocumentEntry. -
UPDATE_AVAILABILITY_STATUS
An entry that represents an association for update availability status trigger. -
SUBMIT_ASSOCIATION
An entry that represents an association for submit association trigger. -
NON_VERSIONING_UPDATE
An entry that represents an association which is used as a flag to avoid the versioning of an updated document.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getOpcode30
null
-safe version ofgetOpcode30()
.- Parameters:
type
- the type for which to get the opcode. Can benull
.- Returns:
- the opcode or
null
if type wasnull
.
-
valueOfOpcode30
Returns the association type that is represented by the given opcode.This method looks up the opcode via the ebXML 3.0 representations.
- Parameters:
opcode
- the string representation. Can benull
.- Returns:
- the association type or
null
if the opcode wasnull
.
-
isReplace
public boolean isReplace()- Returns:
true
if the association contains a replacement.
-
getOpcode30
-