public static enum MessageArchiveRepository.Direction extends Enum<MessageArchiveRepository.Direction>
| Modifier and Type | Method and Description |
|---|---|
static MessageArchiveRepository.Direction |
getDirection(tigase.xmpp.BareJID owner,
tigase.xmpp.BareJID from) |
static MessageArchiveRepository.Direction |
getDirection(short val) |
static MessageArchiveRepository.Direction |
getDirection(String val) |
short |
getValue() |
String |
toElementName() |
static MessageArchiveRepository.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageArchiveRepository.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageArchiveRepository.Direction incoming
public static final MessageArchiveRepository.Direction outgoing
public static MessageArchiveRepository.Direction[] values()
for (MessageArchiveRepository.Direction c : MessageArchiveRepository.Direction.values()) System.out.println(c);
public static MessageArchiveRepository.Direction 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 short getValue()
public String toElementName()
public static MessageArchiveRepository.Direction getDirection(tigase.xmpp.BareJID owner, tigase.xmpp.BareJID from)
public static MessageArchiveRepository.Direction getDirection(short val)
public static MessageArchiveRepository.Direction getDirection(String val)
Copyright © 2017. All rights reserved.