com.esri.aims.mtier.model.metadata.publish
Class SemanticPair

java.lang.Object
  extended by com.esri.aims.mtier.model.metadata.publish.SemanticPair

public class SemanticPair
extends Object

Implements a SemanticPair element.


Constructor Summary
SemanticPair()
           
 
Method Summary
 String getAttribute()
          Returns the attribute name as string for the element.
 Element getSemanticPairElement()
          Returns this object as an SEMANTIC_PAIR element.
 String getTag()
          Returns the location of an element inside an XML tree.
 String getZcode()
          Returns the numeric code defining semantics from the GEO Attribute set.
 void setAttribute(String newAttribute)
          Sets the given string as attribute name for the element.
 void setTag(String newTag)
          Sets the location of an element inside an XML tree.
 void setZcode(String newZcode)
          Sets the numeric code defining semantics from the GEO Attribute set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SemanticPair

public SemanticPair()
Method Detail

getTag

public String getTag()
Returns the location of an element inside an XML tree.

Returns:
String Returns the tag name from the XML tree.

getZcode

public String getZcode()
Returns the numeric code defining semantics from the GEO Attribute set.

Returns:
String Returns the Numeric code defining semantics from the GEO Attribute Set.

getAttribute

public String getAttribute()
Returns the attribute name as string for the element.

Returns:
String attribute name for the element.

setTag

public void setTag(String newTag)
Sets the location of an element inside an XML tree.

Parameters:
newTag - Location of an element inside an XML tree.

setZcode

public void setZcode(String newZcode)
Sets the numeric code defining semantics from the GEO Attribute set.

Parameters:
newZcode - numeric code defining semantics from the GEO Attribute set.

setAttribute

public void setAttribute(String newAttribute)
Sets the given string as attribute name for the element.

Parameters:
newAttribute - attribute name for the element.

getSemanticPairElement

public Element getSemanticPairElement()
                               throws com.esri.aims.mtier.model.axl.AXLAttributeException
Returns this object as an SEMANTIC_PAIR element.

Returns:
Element
Throws:
com.esri.aims.mtier.model.axl.AXLAttributeException