public class TLcdAtomLink extends TLcdDataObject
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
BASE_PROPERTY
Data property that maps to the
base attribute. |
static TLcdDataProperty |
CONTENT_PROPERTY
Data content property.
|
static TLcdDataProperty |
HREF_LANGUAGE_PROPERTY
Data property that maps to the
hreflang attribute. |
static TLcdDataProperty |
HREF_PROPERTY
Data property that maps to the
href attribute. |
static TLcdDataProperty |
LANGUAGE_PROPERTY
Data property that maps to the
lang attribute. |
static TLcdDataProperty |
LENGTH_PROPERTY
Data property that maps to the
length attribute. |
static TLcdDataProperty |
REL_PROPERTY
Data property that maps to the
rel attribute. |
static TLcdDataProperty |
TITLE_PROPERTY
Data property that maps to the
title attribute. |
static TLcdDataProperty |
TYPE_PROPERTY
Data property that maps to the
type attribute. |
Constructor and Description |
---|
TLcdAtomLink() |
TLcdAtomLink(String aType,
TLcdAtomRelCode aRelation)
Convenience constructor that sets the given type.
|
TLcdAtomLink(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
URI |
getBase()
Returns the value of the property that maps to the
base attribute. |
List<Object> |
getContent()
Returns the value of the content property.
|
URI |
getHref()
Returns the value of the property that maps to the
href attribute. |
String |
getHrefLanguage()
Returns the value of the property that maps to the
hreflang attribute. |
String |
getLanguage()
Returns the value of the property that maps to the
lang attribute. |
Long |
getLength()
Returns the value of the property that maps to the
length attribute. |
TLcdAtomRelCode |
getRel()
Returns the value of the property that maps to the
rel attribute. |
String |
getTitle()
Returns the value of the property that maps to the
title attribute. |
String |
getType()
Returns the value of the property that maps to the
type attribute. |
void |
setBase(URI aValue)
Sets the value of the property that maps to the
base attribute. |
void |
setHref(URI aValue)
Sets the value of the property that maps to the
href attribute. |
void |
setHrefLanguage(String aValue)
Sets the value of the property that maps to the
hreflang attribute. |
void |
setLanguage(String aValue)
Sets the value of the property that maps to the
lang attribute. |
void |
setLength(Long aValue)
Sets the value of the property that maps to the
length attribute. |
void |
setRel(TLcdAtomRelCode aValue)
Sets the value of the property that maps to the
rel attribute. |
void |
setTitle(String aValue)
Sets the value of the property that maps to the
title attribute. |
void |
setType(String aValue)
Sets the value of the property that maps to the
type attribute. |
public static final TLcdDataProperty HREF_PROPERTY
href
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty HREF_LANGUAGE_PROPERTY
hreflang
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty LENGTH_PROPERTY
length
attribute.
The possible values for this property are instances of Long
.public static final TLcdDataProperty REL_PROPERTY
rel
attribute.
The possible values for this property are instances of
public static final TLcdDataProperty TITLE_PROPERTY
title
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty TYPE_PROPERTY
type
attribute.
The possible values for this property are the public QName
constants defined in this class.public static final TLcdDataProperty BASE_PROPERTY
base
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty LANGUAGE_PROPERTY
lang
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty CONTENT_PROPERTY
List<Object>
.public TLcdAtomLink()
public TLcdAtomLink(TLcdDataType aType)
public TLcdAtomLink(String aType, TLcdAtomRelCode aRelation)
aType
- the type to setpublic URI getHref()
href
attribute.
href is the URI of the referenced resource (typically a Web page).
HREF_PROPERTY
property.public void setHref(URI aValue)
href
attribute.
href is the URI of the referenced resource (typically a Web page).
aValue
- the value to set for the HREF_PROPERTY
property.public String getHrefLanguage()
hreflang
attribute.HREF_LANGUAGE_PROPERTY
property.public void setHrefLanguage(String aValue)
hreflang
attribute.aValue
- the value to set for the HREF_LANGUAGE_PROPERTY
property.public Long getLength()
length
attribute.LENGTH_PROPERTY
property.public void setLength(Long aValue)
length
attribute.aValue
- the value to set for the LENGTH_PROPERTY
property.public TLcdAtomRelCode getRel()
rel
attribute.
The possible values for this property are instances of
REL_PROPERTY
property.public void setRel(TLcdAtomRelCode aValue)
rel
attribute.
The possible values for this property are instances of
aValue
- the value to set for the REL_PROPERTY
property.public String getTitle()
title
attribute.TITLE_PROPERTY
property.public void setTitle(String aValue)
title
attribute.aValue
- the value to set for the TITLE_PROPERTY
property.public String getType()
type
attribute.
The possible values for this property are the public QName
constants defined in this class.
Type indicates the media type of the resource.
TYPE_PROPERTY
property.public void setType(String aValue)
type
attribute.
The possible values for this property are the public QName
constants defined in this class.
Type indicates the media type of the resource.
aValue
- the value to set for the TYPE_PROPERTY
property.public URI getBase()
base
attribute.
BASE_PROPERTY
property.public void setBase(URI aValue)
base
attribute.
aValue
- the value to set for the BASE_PROPERTY
property.public String getLanguage()
lang
attribute.
LANGUAGE_PROPERTY
property.public void setLanguage(String aValue)
lang
attribute.
aValue
- the value to set for the LANGUAGE_PROPERTY
property.public List<Object> getContent()
CONTENT_PROPERTY
property.