|
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,
java.lang.String name,
java.lang.Object value,
java.lang.Class dataType)
Constructs a new ERMetadataEntry. |
|
| Method Summary | |
|---|---|
java.lang.Class |
getDataType()
Returns the data type of the entry. |
int |
getIntValue(boolean firstWord)
Returns the int value of the entry. |
java.lang.String |
getName()
Returns the directory-specific name for the entry. |
java.lang.String |
getStringValue()
Returns the string value of the entry. |
int |
getType()
Returns the directory-specific identifier for the entry. |
java.lang.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)
|
java.lang.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,
java.lang.String name,
java.lang.Object value,
java.lang.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 java.lang.Class getDataType()
public int getType()
public java.lang.String getName()
public java.lang.Object getValue()
public java.lang.String getStringValue()
public int getIntValue(boolean firstWord)
firstWord - if true, only the first word is converted to an int
public boolean isValid()
public java.lang.String toString()
toString in class java.lang.Objectpublic static boolean isValid(ERMetadataEntry entry)
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||