public class ResourceId extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) DateTimeFormatter |
dateTimeFormatter |
| Constructor and Description |
|---|
ResourceId(String rid)
Constructs a new identifier for the resource version.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEnd() |
String |
getPreviousRid()
Get the identifier of the previous version.
|
String |
getRid()
Get the identifier for this resource version.
|
String |
getStart() |
String |
getVersion()
Get the version designation for this resource version.
|
void |
setEnd(String endDateTime)
Set the ending instant of a temporal interval for selecting resource
versions.
|
void |
setPreviousRid(String previousRid)
Set identifier of the previous version.
|
void |
setStart(String startDateTime)
Set the starting instant of a temporal interval for selecting resource
versions.
|
void |
setVersion(String version)
Set the version designation for this resource version.
|
Element |
toElement()
Creates a DOM Element representing this resource identifier.
|
String |
toString() |
DateTimeFormatter dateTimeFormatter
public ResourceId(String rid)
rid - A String that is a legal XML Schema ID (xsd:ID) value.public String getRid()
public String getPreviousRid()
public void setPreviousRid(String previousRid)
previousRid - A valid xsd:ID value.public String getVersion()
public void setVersion(String version)
version - A version designator that adheres to a recognized scheme.public String getStart()
public void setStart(String startDateTime)
startDateTime - A lexical representation of an xsd:dateTime value.public String getEnd()
public void setEnd(String endDateTime)
endDateTime - A lexical representation of an xsd:dateTime value.public Element toElement()
Copyright © 2020 Open Geospatial Consortium. All rights reserved.