Novell exteNd Web Services SDK API

com.sssw.jbroker.web.xsd
Class ENTITY

java.lang.Object
  extended bycom.sssw.jbroker.web.xsd.Validator
      extended bycom.sssw.jbroker.web.xsd.NormalizedString
          extended bycom.sssw.jbroker.web.xsd.Token
              extended bycom.sssw.jbroker.web.xsd.Name
                  extended bycom.sssw.jbroker.web.xsd.NCName
                      extended bycom.sssw.jbroker.web.xsd.ENTITY
All Implemented Interfaces:
Serializable

public class ENTITY
extends NCName

A wrapper class that contains a ENTITY. Please refer to the XML Schema for the complete definition of this simple type.

Since:
jBroker Web 2.0
See Also:
Serialized Form

Constructor Summary
ENTITY(String value)
          Construct a ENTITY with the specified value.
 
Method Summary
 boolean equals(Object other)
           
 String getValue()
          Get the value of this ENTITY.
 int hashCode()
           
 void setValue(String value)
          Set the value of this ENTITY.
 String toString()
          Return string form of object
static void validate(Object object)
          Validate that a ENTITY is a proper XML Schema ENTITY.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ENTITY

public ENTITY(String value)
       throws IllegalArgumentException
Construct a ENTITY with the specified value.

Parameters:
value - the value of the ENTITY
Throws:
IllegalArgumentException - if the value can not be validated as a ENTITY.
Method Detail

getValue

public String getValue()
Get the value of this ENTITY.

Overrides:
getValue in class NCName
Returns:
the value of the ENTITY

setValue

public void setValue(String value)
              throws IllegalArgumentException
Set the value of this ENTITY.

Overrides:
setValue in class NCName
Parameters:
value - the value of the ENTITY
Throws:
IllegalArgumentException - if the value can not be validated as a ENTITY.

equals

public boolean equals(Object other)
Overrides:
equals in class NCName

hashCode

public int hashCode()
Overrides:
hashCode in class NCName

validate

public static void validate(Object object)
                     throws IllegalArgumentException
Validate that a ENTITY is a proper XML Schema ENTITY.

Throws:
IllegalArgumentException - if the value can not be validated as a ENTITY.

toString

public String toString()
Description copied from class: Token
Return string form of object

Overrides:
toString in class NCName

Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.