public class ObjectFormatIdentifier extends Object implements Serializable, Comparable
<xs:simpleType xmlns:ns="http://ns.dataone.org/service/types/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ObjectFormatIdentifier"> <xs:restriction base="xs:string"/> </xs:simpleType>
Constructor and Description |
---|
ObjectFormatIdentifier() |
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)
1 value 2 Value 3 String 4 (java.lang.String) 5 ObjectFormatIdentifier value is a string, override equals of ObjectFormatIdentifier.
|
String |
getValue()
Get the 'ObjectFormatIdentifier' simpleType value.
|
int |
hashCode()
return the hashcode of ObjectFormatIdentifier's string value.
|
void |
setValue(String value)
Set the 'ObjectFormatIdentifier' simpleType value.
|
protected String 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 Comparable
other
- ClassCastException
Copyright © 2016. All Rights Reserved.