org.openspml.v2.examples.nvpstore.csvdb.def
Class NVPObjectDefReference

java.lang.Object
  extended byorg.openspml.v2.examples.nvpstore.csvdb.def.NVPObjectDefReference
All Implemented Interfaces:
MarshallableElement

public class NVPObjectDefReference
extends java.lang.Object
implements MarshallableElement

An NVP Group is a named set of NVPs. The name is bascially a "type". An NVP is a name-value-pair (aka Attribute). Value can be multiple, or not.


Constructor Summary
protected NVPObjectDefReference()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getElementName()
          This should return the name of the element to be placed in the XML
 java.lang.String getNameOfNVPObjectDef()
           
 PrefixAndNamespaceTuple[] getNamespacesInfo()
          We need to know the namespace of the class to include.
 int hashCode()
           
 boolean isValid()
          Is this ready to go or are there syntax errors, like missing required fields?
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NVPObjectDefReference

protected NVPObjectDefReference()
Method Detail

getNameOfNVPObjectDef

public java.lang.String getNameOfNVPObjectDef()

getElementName

public java.lang.String getElementName()
Description copied from interface: MarshallableElement
This should return the name of the element to be placed in the XML

Specified by:
getElementName in interface MarshallableElement
Returns:
just the string (no prefix) representing the elementName

getNamespacesInfo

public PrefixAndNamespaceTuple[] getNamespacesInfo()
Description copied from interface: MarshallableElement
We need to know the namespace of the class to include.

Specified by:
getNamespacesInfo in interface MarshallableElement
Returns:
set of tuples defining the namespaces to use.

isValid

public boolean isValid()
Description copied from interface: MarshallableElement
Is this ready to go or are there syntax errors, like missing required fields?

Specified by:
isValid in interface MarshallableElement
Returns:
is this valid? do the values of the fields make legal sense?

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()


Copyright © Sun Microsystems, Inc. All Rights Reserved.