|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Object
java.lang.Enum<DestinationBean.Type>
com.fatwire.services.beans.entity.DestinationBean.Type
public static enum DestinationBean.Type
Enumerates all the supported destination types.
| Enum Constant Summary | |
|---|---|
CUSTOMCustom. |
|
EXPORTExport to XML. |
|
MIRRORMirror Publishing. |
|
REAL_TIMEReal-time Publishing. |
|
STATICStatic Publishing. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCode()Returns the code associated with this enum. |
java.lang.String |
getName()Returns the free-form name for this destination type. |
void |
setName(java.lang.String name)Sets a free-form name to this destination type. |
static DestinationBean.Type |
toEnum(java.lang.String code)Returns an enum object, given the code, or null if there is no such supported code. |
static DestinationBean.Type |
valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. |
static DestinationBean.Type[] |
values()Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DestinationBean.Type CUSTOM
public static final DestinationBean.Type EXPORT
public static final DestinationBean.Type MIRROR
public static final DestinationBean.Type REAL_TIME
public static final DestinationBean.Type STATIC
| Method Detail |
|---|
public static DestinationBean.Type[] values()
for (DestinationBean.Type c : DestinationBean.Type.values())
System.out.println(c);
public static DestinationBean.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getCode()
public static DestinationBean.Type toEnum(java.lang.String code)
null if there is no such supported code.code - the code to match for, case-sensitive.null if there is no such supported code.public void setName(java.lang.String name)
name - the free-form name to set.public java.lang.String getName()
Returns the free-form name for this destination type.
If the name isnull, returns the code associated with this destination type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.