|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Attributes are classes of information associated with Tracks. (E.g. the Attribute could be "Artist", and then all tracks could have a value for this attribute.)
Field Summary | |
static int |
TYPE_INT
int attribute type |
static int |
TYPE_STRING
String attribute type |
Method Summary | |
AttributeValue |
getAttributeValue(int val)
Get an AttributeValue object representing the integer that was passed |
AttributeValue |
getAttributeValue(java.lang.String s)
Get an AttributeValue object representing the String object that was passed |
java.lang.String |
getName()
Get the name of this attribute |
int |
getType()
Return the type of the attribute, which can be equal to Attribute.TYPE_STRING or Attribute.TYPE_INT |
Field Detail |
public static final int TYPE_STRING
public static final int TYPE_INT
Method Detail |
public java.lang.String getName()
public int getType()
public AttributeValue getAttributeValue(java.lang.String s)
s
- The String to retrieve an AttributeValue object for
public AttributeValue getAttributeValue(int val)
val
- The integer to retrieve an AttributeValue object for
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |