public class MetaDataEntry extends Object implements Externalizable, SafeSerializable
Modifier and Type | Field and Description |
---|---|
static String |
END_OF_LIST |
Constructor and Description |
---|
MetaDataEntry()
Simple constructor
|
MetaDataEntry(String className,
String qnameAsString)
Constructor
|
MetaDataEntry(String className,
String qnameAsString,
ArrayList children)
Constructor
|
MetaDataEntry(String className,
String qnameAsString,
String extraName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addToList(MetaDataEntry e)
Add to the list
|
ArrayList |
getChildren()
Get the list
|
String |
getClassName()
Get the class name
|
String |
getExtraName()
Get the additional name associated with the object
|
String |
getName()
This is a convenience method.
|
QName |
getQName()
Get the QName
|
String |
getQNameAsString()
Get the QName as a string
|
boolean |
isListEmpty()
Indicates whether the list is empty or not
|
void |
readExternal(ObjectInput inObject)
Restore the contents of the object that was
previously saved.
|
void |
removeList()
Remove the list
|
void |
setChildren(ArrayList L)
Set the list
|
void |
setClassName(String c)
Set the class name
|
void |
setExtraName(String e)
Set the additional name associated with the object
|
void |
setQName(QName q)
Set the QName
|
void |
setQName(String n)
Set the QName
|
void |
writeExternal(ObjectOutput o)
Save the contents of this object
|
public static String END_OF_LIST
public MetaDataEntry()
public MetaDataEntry(String className, String qnameAsString)
className
- name of the object classqnameAsString
- an expanded version of the QName of this objectpublic MetaDataEntry(String className, String qnameAsString, String extraName)
className
- name of the object classqnameAsString
- an expanded version of the QName of this objectextraName
- an additional name associated withe the objectpublic String getClassName()
public void setClassName(String c)
c
- the class name stringpublic QName getQName()
public void setQName(QName q)
q
- the QNamepublic void setQName(String n)
n
- the QName as a stringpublic String getQNameAsString()
public String getName()
public String getExtraName()
public void setExtraName(String e)
e
- the extra name stringpublic boolean isListEmpty()
public ArrayList getChildren()
public void setChildren(ArrayList L)
L
- the ArrayList of MetaDataEntry objectspublic void addToList(MetaDataEntry e)
e
- the MetaDataEntry object to add to the listpublic void removeList()
public void writeExternal(ObjectOutput o) throws IOException
writeExternal
in interface Externalizable
out
- The stream to write the object contents toIOException
public void readExternal(ObjectInput inObject) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
in
- The stream to read the object contents fromIOException
ClassNotFoundException
Copyright © The Apache Software Foundation. All Rights Reserved.