org.base.apps.api
Enum InfoAttr

java.lang.Object
  extended by java.lang.Enum<InfoAttr>
      extended by org.base.apps.api.InfoAttr
All Implemented Interfaces:
Serializable, CharSequence, Comparable<InfoAttr>

public enum InfoAttr
extends Enum<InfoAttr>
implements CharSequence

Custom application attribute keys.


Enum Constant Summary
description
           
impl
           
info
           
installed_apps
           
installed_csv
           
name
           
title
           
 
Method Summary
 char charAt(int index)
           
 String getAttr()
           
 boolean isAttr(String attr)
           
 int length()
           
 CharSequence subSequence(int start, int end)
           
static InfoAttr valueOf(String name)
          Returns the enum constant of this type with the specified name.
static InfoAttr[] 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
 
Methods inherited from interface java.lang.CharSequence
toString
 

Enum Constant Detail

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
Method Detail

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)

Please visit Base Apps, hosted on Sourceforge.net.

Copyright 2011, Blue Agate Software Entity (BASE)