|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AntennaSpecifier> edu.nrao.sss.model.resource.AntennaSpecifier
public enum AntennaSpecifier
A list of ways to identify an antenna.
CVS Info:
$Revision: 161 $ |
$Date: 2006-12-15 11:48:34 -0700 (Fri, 15 Dec 2006) $ |
$Author: btruitt $ |
Enum Constant Summary | |
---|---|
ANTENNA_ID
Indicates that an antenna has been specified via its own ID. |
|
PAD_ID
Indicates that an antenna has been specified via the ID of its pad. |
Method Summary | |
---|---|
static AntennaSpecifier |
fromString(String text)
Returns the antenna specifier represented by text . |
static AntennaSpecifier |
getDefault()
Returns the default antenna specifier. |
String |
toString()
Returns a text representation of this enumeration constant. |
static AntennaSpecifier |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AntennaSpecifier[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AntennaSpecifier ANTENNA_ID
public static final AntennaSpecifier PAD_ID
Method Detail |
---|
public static AntennaSpecifier[] values()
for (AntennaSpecifier c : AntennaSpecifier.values()) System.out.println(c);
public static AntennaSpecifier valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static AntennaSpecifier getDefault()
public String toString()
toString
in class Enum<AntennaSpecifier>
public static AntennaSpecifier fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of an antenna specifier.
text
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |