Class IDRefs
java.lang.Object
org.apache.axis2.databinding.types.NormalizedString
org.apache.axis2.databinding.types.Token
org.apache.axis2.databinding.types.Name
org.apache.axis2.databinding.types.NCName
org.apache.axis2.databinding.types.IDRefs
- All Implemented Interfaces:
Serializable
Custom class for supporting XSD data type IDRefs
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIDREFs can be equal without having identical ordering because they represent a set of references.inthashCode()Returns the sum of the hashcodes of the underlying idrefs, an operation which is not sensitive to ordering.voidvalidates the data and sets the value for the object.toString()
-
Constructor Details
-
IDRefs
public IDRefs() -
IDRefs
ctor for IDRefs- Throws:
IllegalArgumentException- will be thrown if validation fails
-
-
Method Details
-
setValue
Description copied from class:NCNamevalidates the data and sets the value for the object. -
toString
- Overrides:
toStringin classNormalizedString
-
equals
IDREFs can be equal without having identical ordering because they represent a set of references. Hence we have to compare values here as a set, not a list.- Overrides:
equalsin classNormalizedString- Parameters:
object- anObjectvalue- Returns:
- a
booleanvalue
-
hashCode
public int hashCode()Returns the sum of the hashcodes of the underlying idrefs, an operation which is not sensitive to ordering.- Overrides:
hashCodein classNormalizedString- Returns:
- an
intvalue
-