public class Subject extends Object implements Serializable, Comparable
<xs:complexType xmlns:ns="http://ns.dataone.org/service/types/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Subject">
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
</xs:complexType>
| Constructor and Description |
|---|
Subject() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object other)
Compares order based on the String value of two objects of the same type.
|
boolean |
equals(Object other)
Value is a string, override equals of Subject.
|
String |
getValue()
Get the 'Subject' complexType value.
|
int |
hashCode()
return the hashcode of Subject's string value.
|
void |
setValue(String value)
Set the 'Subject' complexType value.
|
public String getValue()
public void setValue(String value)
value - public boolean equals(Object other)
public int hashCode()
public int compareTo(Object other) throws ClassCastException
compareTo in interface Comparableother - ClassCastExceptionCopyright © 2014. All Rights Reserved.