public static enum CDOProtocolConstants.UnitOpcode extends Enum<CDOProtocolConstants.UnitOpcode>
Enum Constant and Description |
---|
CHECK |
CLOSE |
CREATE |
CREATE_AND_OPEN |
OPEN |
OPEN_DEMAND_CREATE |
Modifier and Type | Method and Description |
---|---|
boolean |
isCreate() |
boolean |
isOpen() |
static CDOProtocolConstants.UnitOpcode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CDOProtocolConstants.UnitOpcode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CDOProtocolConstants.UnitOpcode CHECK
public static final CDOProtocolConstants.UnitOpcode CREATE
public static final CDOProtocolConstants.UnitOpcode CREATE_AND_OPEN
public static final CDOProtocolConstants.UnitOpcode OPEN
public static final CDOProtocolConstants.UnitOpcode OPEN_DEMAND_CREATE
public static final CDOProtocolConstants.UnitOpcode CLOSE
public static CDOProtocolConstants.UnitOpcode[] values()
for (CDOProtocolConstants.UnitOpcode c : CDOProtocolConstants.UnitOpcode.values()) System.out.println(c);
public static CDOProtocolConstants.UnitOpcode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isCreate()
public boolean isOpen()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html