public class NoteCreationSource extends Object implements Serializable
Possible types of creation sources for user tagged items
Modifier and Type | Field and Description |
---|---|
static NoteCreationSource |
API
Created by the API
|
static NoteCreationSource |
MAIL
Created via mail-in
|
static NoteCreationSource |
MQ
Created by the Message Queue
|
static NoteCreationSource |
SYSTEM
Automatically created by the system
|
static NoteCreationSource |
WEB
Created via web interface
|
static NoteCreationSource |
XMPP
Created via XMPP
|
Modifier | Constructor and Description |
---|---|
protected |
NoteCreationSource()
The default constructor allowing super classes to access it.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object that) |
boolean |
equals(Object object) |
static NoteCreationSource |
fromString(String value)
Creates an instance of NoteCreationSource from
value . |
String |
getValue()
Gets the underlying value of this type safe enumeration.
|
int |
hashCode() |
static List<String> |
literals()
Returns an unmodifiable list containing the literals that are known by this enumeration.
|
static List<String> |
names()
Returns an unmodifiable list containing the names of the literals that are known by this
enumeration.
|
String |
toString() |
public static final NoteCreationSource MAIL
Created via mail-in
public static final NoteCreationSource XMPP
Created via XMPP
public static final NoteCreationSource WEB
Created via web interface
public static final NoteCreationSource SYSTEM
Automatically created by the system
public static final NoteCreationSource API
Created by the API
public static final NoteCreationSource MQ
Created by the Message Queue
protected NoteCreationSource()
public static NoteCreationSource fromString(String value)
value
.value
- the value to create the NoteCreationSource from.public static List<String> literals()
public static List<String> names()
public int compareTo(Object that)
Comparable.compareTo(Object)
public boolean equals(Object object)
equals
in class Object
Object.equals(Object)
public String getValue()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019 Communote team. All rights reserved.