public class LSID
extends java.lang.Object
Constructor and Description |
---|
LSID(java.lang.Class klass,
int... indexes)
Default constructor.
|
LSID(java.lang.String asString)
Constructor for non-standard LSIDs.
|
LSID(java.lang.String asString,
boolean parse)
Constructor for standard LSIDs that should be parsed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int[] |
getIndexes()
Returns the indexes for this LSID within the OME-XML data model.
|
java.lang.Class |
getJavaClass()
Returns the Java class which qualifies the type of object this
LSID represents.
|
int |
hashCode() |
int[] |
parseIndexes()
Attempts to parse and return the indexes for the LSID parsed from the
LSID's string representation.
|
java.lang.Class |
parseJavaClass()
Attempts to parse and return the concrete Java class for the LSID from
the LSID's string representation.
|
java.lang.String |
toString() |
public LSID(java.lang.Class klass, int... indexes)
klass
- Concrete Java class which qualifies the type of object
this LSID represents.indexes
- Indexes for this LSID within the OME-XML data model.public LSID(java.lang.String asString)
asString
- The LSID as a string.public LSID(java.lang.String asString, boolean parse)
asString
- The LSID as a string.parse
- Whether or not to parse the LSID.public java.lang.Class getJavaClass()
public java.lang.Class parseJavaClass()
null
if the concrete class cannot be
parsed.public int[] parseIndexes()
public int[] getIndexes()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.