org.base.apps.api
Enum InfoAttr
java.lang.Object
java.lang.Enum<InfoAttr>
org.base.apps.api.InfoAttr
- All Implemented Interfaces:
- Serializable, CharSequence, Comparable<InfoAttr>
public enum InfoAttr
- extends Enum<InfoAttr>
- implements CharSequence
Custom application attribute keys.
installed_csv
public static final InfoAttr installed_csv
installed_apps
public static final InfoAttr installed_apps
impl
public static final InfoAttr impl
info
public static final InfoAttr info
name
public static final InfoAttr name
title
public static final InfoAttr title
description
public static final InfoAttr description
values
public static InfoAttr[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (InfoAttr c : InfoAttr.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static InfoAttr valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getAttr
public String getAttr()
isAttr
public boolean isAttr(String attr)
charAt
public char charAt(int index)
- Specified by:
charAt in interface CharSequence
- See Also:
CharSequence.charAt(int)
length
public int length()
- Specified by:
length in interface CharSequence
- See Also:
CharSequence.length()
subSequence
public CharSequence subSequence(int start,
int end)
- Specified by:
subSequence in interface CharSequence
- See Also:
CharSequence.subSequence(int, int)
Copyright 2011, Blue Agate Software Entity (BASE)