citysdk.tourism.client.poi.base
Class POIBaseType
java.lang.Object
citysdk.tourism.client.poi.base.POIBaseType
- Direct Known Subclasses:
- Location, POITermType, POIType
public class POIBaseType
- extends java.lang.Object
Representation of the POIBaseType class of the UML diagram found in:
http://www.w3.org/2010/POI/documents/Core/core-20111216.html#poi-data-model.
This is the base class of other classes and it is composed of:
- id - a unique identifier for this location. Can be a URI fragment;
- value - the information content;
- base - base URI;
- href - an absolute reference to the content type;
- type - MIME type [RFC2046];
- lang - language type[RFC3066];
- created - time at which this POIBaseType was created;
- updated - time at which this POIBaseType was updated;
- deleted - time at which this POIBaseType was deleted;
- author - the author of this POIBaseType. Represented by a
POITermType;
- license - the license restrictions of this information. Represented by a
POITermType.
- Author:
- Pedro Cruz
|
Constructor Summary |
POIBaseType()
Creates an empty POIBaseType. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POIBaseType
public POIBaseType()
- Creates an empty POIBaseType.
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)
getHref
public java.lang.String getHref()
setHref
public void setHref(java.lang.String href)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getLang
public java.lang.String getLang()
setLang
public void setLang(java.lang.String lang)
getBase
public java.lang.String getBase()
setBase
public void setBase(java.lang.String base)
getCreated
public java.util.Date getCreated()
setCreated
public void setCreated(java.util.Date created)
getUpdated
public java.util.Date getUpdated()
setUpdated
public void setUpdated(java.util.Date updated)
getDeleted
public java.util.Date getDeleted()
setDeleted
public void setDeleted(java.util.Date deleted)
getAuthor
public POITermType getAuthor()
setAuthor
public void setAuthor(POITermType author)
getLicense
public POITermType getLicense()
setLicense
public void setLicense(POITermType license)