public enum PublishState extends Enum<PublishState>
| Enum Constant and Description |
|---|
None |
TimeAndRoom |
TimeOnly |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
boolean |
isRoomPublished() |
boolean |
isTimePublished() |
static PublishState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublishState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublishState None
public static final PublishState TimeOnly
public static final PublishState TimeAndRoom
public static PublishState[] values()
for (PublishState c : PublishState.values()) System.out.println(c);
public static PublishState 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 String getName()
public boolean isTimePublished()
public boolean isRoomPublished()
Copyright © 2005–2018 The OpenURP Software. All rights reserved.