public class MetaDataEntry extends java.lang.Object implements java.io.Externalizable, SafeSerializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
END_OF_LIST |
| Constructor and Description |
|---|
MetaDataEntry()
Simple constructor
|
MetaDataEntry(java.lang.String className,
java.lang.String qnameAsString)
Constructor
|
MetaDataEntry(java.lang.String className,
java.lang.String qnameAsString,
java.util.ArrayList children)
Constructor
|
MetaDataEntry(java.lang.String className,
java.lang.String qnameAsString,
java.lang.String extraName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToList(MetaDataEntry e)
Add to the list
|
java.util.ArrayList |
getChildren()
Get the list
|
java.lang.String |
getClassName()
Get the class name
|
java.lang.String |
getExtraName()
Get the additional name associated with the object
|
java.lang.String |
getName()
This is a convenience method.
|
javax.xml.namespace.QName |
getQName()
Get the QName
|
java.lang.String |
getQNameAsString()
Get the QName as a string
|
boolean |
isListEmpty()
Indicates whether the list is empty or not
|
void |
readExternal(java.io.ObjectInput inObject)
Restore the contents of the object that was
previously saved.
|
void |
removeList()
Remove the list
|
void |
setChildren(java.util.ArrayList L)
Set the list
|
void |
setClassName(java.lang.String c)
Set the class name
|
void |
setExtraName(java.lang.String e)
Set the additional name associated with the object
|
void |
setQName(javax.xml.namespace.QName q)
Set the QName
|
void |
setQName(java.lang.String n)
Set the QName
|
void |
writeExternal(java.io.ObjectOutput o)
Save the contents of this object
|
public MetaDataEntry()
public MetaDataEntry(java.lang.String className,
java.lang.String qnameAsString)
className - name of the object classqnameAsString - an expanded version of the QName of this objectpublic MetaDataEntry(java.lang.String className,
java.lang.String qnameAsString,
java.lang.String extraName)
className - name of the object classqnameAsString - an expanded version of the QName of this objectextraName - an additional name associated withe the objectpublic MetaDataEntry(java.lang.String className,
java.lang.String qnameAsString,
java.util.ArrayList children)
className - name of the object classqnameAsString - an expanded version of the QName of this objectchildren - an ArrayList containing MetaDataEntries for owned objectspublic java.lang.String getClassName()
public void setClassName(java.lang.String c)
c - the class name stringpublic javax.xml.namespace.QName getQName()
public void setQName(javax.xml.namespace.QName q)
q - the QNamepublic void setQName(java.lang.String n)
n - the QName as a stringpublic java.lang.String getQNameAsString()
public java.lang.String getName()
public java.lang.String getExtraName()
public void setExtraName(java.lang.String e)
e - the extra name stringpublic boolean isListEmpty()
public java.util.ArrayList getChildren()
public void setChildren(java.util.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(java.io.ObjectOutput o)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - The stream to write the object contents tojava.io.IOExceptionpublic void readExternal(java.io.ObjectInput inObject)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - The stream to read the object contents fromjava.io.IOExceptionjava.lang.ClassNotFoundExceptionCopyright © 2004-2018 The Apache Software Foundation. All Rights Reserved.