org.apache.axis2.databinding.types
Class Notation

java.lang.Object
  extended by org.apache.axis2.databinding.types.Notation
All Implemented Interfaces:
Serializable

public class Notation
extends Object
implements Serializable

Custom class for supporting XSD data type NOTATION.

See Also:
XML Schema Part 1: 3.12 Notation Declarations, Serialized Form

Constructor Summary
Notation()
           
Notation(NCName name, URI publicURI, URI systemURI)
           
 
Method Summary
 boolean equals(Object obj)
           
 NCName getName()
           
 URI getPublic()
           
 URI getSystem()
           
 int hashCode()
          Returns the sum of the hashcodes of {name,publicURI,systemURI} for whichever properties in that set is non null.
 void setName(NCName name)
           
 void setPublic(URI publicURI)
           
 void setSystem(URI systemURI)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notation

public Notation()

Notation

public Notation(NCName name,
                URI publicURI,
                URI systemURI)
Method Detail

getName

public NCName getName()

setName

public void setName(NCName name)

getPublic

public URI getPublic()

setPublic

public void setPublic(URI publicURI)

getSystem

public URI getSystem()

setSystem

public void setSystem(URI systemURI)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Returns the sum of the hashcodes of {name,publicURI,systemURI} for whichever properties in that set is non null. This is consistent with the implementation of equals, as required by Object.hashCode.

Overrides:
hashCode in class Object
Returns:
an int value


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.