public class LSID extends Object
Constructor and Description |
---|
LSID(Class klass,
int... indexes)
Default constructor.
|
LSID(String asString)
Constructor for non-standard LSIDs.
|
LSID(String asString,
boolean parse)
Constructor for standard LSIDs that should be parsed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int[] |
getIndexes()
Returns the indexes for this LSID within the OME-XML data model.
|
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.
|
Class |
parseJavaClass()
Attempts to parse and return the concrete Java class for the LSID from
the LSID's string representation.
|
String |
toString() |
public LSID(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(String asString)
asString
- The LSID as a string.public LSID(String asString, boolean parse)
asString
- The LSID as a string.parse
- Whether or not to parse the LSID.public Class getJavaClass()
public Class parseJavaClass()
null
if the concrete class cannot be
parsed.public int[] parseIndexes()
public int[] getIndexes()
Version: 5.2.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.