public class AbstractReferenceType extends Object
Modifier and Type | Field and Description |
---|---|
private String |
href
Href
|
private String |
role
Role
|
private String |
title
Title
|
Constructor and Description |
---|
AbstractReferenceType() |
Modifier and Type | Method and Description |
---|---|
String |
getHref()
Get href
|
String |
getRole()
Get role
|
String |
getTitle()
Get title
|
String |
getTitleFromHref()
Get title from href.
|
boolean |
hasValues()
Check whether href, title, and role are set
|
boolean |
isSetHref()
Check whether href is set
|
boolean |
isSetRole()
Check whether role is set
|
boolean |
isSetTitle()
Check whether title is set
|
void |
setHref(String href)
Set href
|
void |
setRole(String role)
Set role
|
void |
setTitle(String title)
Set title
|
String |
toString() |
private String href
private String title
private String role
public String getHref()
public String getTitle()
public String getRole()
public void setHref(String href)
href
- Href to setpublic void setTitle(String title)
title
- Title to setpublic void setRole(String role)
role
- Role to setpublic boolean isSetHref()
true
, if href is setpublic boolean isSetTitle()
true
, if title is setpublic boolean isSetRole()
true
, if role is setpublic boolean hasValues()
true
, if href, title, and role are setpublic String getTitleFromHref()
Constants.SLASH_CHAR
Constants.COLON_CHAR
Constants.NUMBER_SIGN_STRING
: cuts string at last
Constants.NUMBER_SIGN_CHAR
Copyright © 2012-2014 52north.org. All Rights Reserved.