Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


waggle.common.modules.artifact.enums
Enum XArtifactLockStatus

java.lang.Object
  extended by java.lang.Enum<XArtifactLockStatus>
      extended by waggle.common.modules.artifact.enums.XArtifactLockStatus

All Implemented Interfaces:
Serializable, Comparable<XArtifactLockStatus>

public enum XArtifactLockStatus
extends Enum<XArtifactLockStatus>

Artifact URM Lock Status values.


Enum Constant Summary
IS_FROZEN
          Artifact is locked because it is frozen by URM.
IS_RECORD
          Artifact is locked because it is a record by URM.
NO_DELETE
          Artifact is locked for delete by URM.
NO_EDIT
          Artifact is locked for metadata edit by URM.
NO_REVISION
          Artifact is locked for new revisions by URM.

 

Method Summary
static XArtifactLockStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XArtifactLockStatus[] 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

NO_DELETE

public static final XArtifactLockStatus NO_DELETE
Artifact is locked for delete by URM.

NO_EDIT

public static final XArtifactLockStatus NO_EDIT
Artifact is locked for metadata edit by URM.

NO_REVISION

public static final XArtifactLockStatus NO_REVISION
Artifact is locked for new revisions by URM.

IS_FROZEN

public static final XArtifactLockStatus IS_FROZEN
Artifact is locked because it is frozen by URM.

IS_RECORD

public static final XArtifactLockStatus IS_RECORD
Artifact is locked because it is a record by URM.

Method Detail

values

public static XArtifactLockStatus[] 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 (XArtifactLockStatus c : XArtifactLockStatus.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XArtifactLockStatus valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

Skip navigation links

Oracle® On Track Communication SDK Documentation
Release 1(1.0)

E20955-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.