org.apache.axis.types

Class Notation

Implemented Interfaces:
java.io.Serializable

public class Notation
extends java.lang.Object
implements java.io.Serializable

Custom class for supporting XSD data type NOTATION.
Author:
Davanum Srinivas
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()
static TypeDesc
getTypeDesc()
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)

Constructor Details

Notation

public Notation()

Notation

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

Method Details

equals

public boolean equals(Object obj)

getName

public NCName getName()

getPublic

public URI getPublic()

getSystem

public URI getSystem()

getTypeDesc

public static TypeDesc getTypeDesc()

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.
Returns:
an int value

setName

public void setName(NCName name)

setPublic

public void setPublic(URI publicURI)

setSystem

public void setSystem(URI systemURI)

Copyright © 2005 Apache Web Services Project. All Rights Reserved.