|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objecter.attachment.metadata.ERMetadataEntry
public class ERMetadataEntry
ERMetadataEntry represents a single entry in a metadata directory.
| Constructor Summary | |
|---|---|
ERMetadataEntry(int type,
String name,
Object value,
Class dataType)
Constructs a new ERMetadataEntry. |
|
| Method Summary | |
|---|---|
Class |
getDataType()
Returns the data type of the entry. |
int |
getIntValue(boolean firstWord)
Returns the int value of the entry. |
String |
getName()
Returns the directory-specific name for the entry. |
String |
getStringValue()
Returns the string value of the entry. |
int |
getType()
Returns the directory-specific identifier for the entry. |
Object |
getValue()
Returns the value of the entry. |
boolean |
isValid()
Returns whether or not this metadata entry is valid (// MS ... |
static boolean |
isValid(ERMetadataEntry entry)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ERMetadataEntry(int type,
String name,
Object value,
Class dataType)
type - the directory-specific identifier for the entryname - the directory-specific name of the entryvalue - the value of the entrydataType - the dataType of the entry| Method Detail |
|---|
public Class getDataType()
public int getType()
public String getName()
public Object getValue()
public String getStringValue()
public int getIntValue(boolean firstWord)
firstWord - if true, only the first word is converted to an int
public boolean isValid()
public String toString()
toString in class Objectpublic static boolean isValid(ERMetadataEntry entry)
|
Last updated: Wed, Feb 22, 2012 07:00 AM EST | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||