Package com.emc.documentum.rest.model
Class Link
java.lang.Object
com.emc.documentum.rest.model.Link
Model of link
-
Constructor Details
-
Link
public Link()Constructor -
Link
Constructor- Parameters:
rel
- relationhref
- href
-
Link
Constructor- Parameters:
rel
- relationhref
- hrefisTemplate
- href template or not
-
Link
Constructor- Parameters:
rel
- relationhref
- hreftitle
- title
-
Link
Constructor- Parameters:
rel
- relationhref
- hreftitle
- titletype
- link typeisTemplate
- href template or not
-
-
Method Details
-
setHref
Set href- Parameters:
href
- href to set
-
setTitle
Set title- Parameters:
title
- title to set
-
getRel
Get relation- Returns:
- relation
-
getHref
Get href- Returns:
- href
-
getTitle
Get title- Returns:
- title
-
getType
Get type- Returns:
- type
-
getHreftemplate
Get href template- Returns:
- href template
-
isTemplate
public boolean isTemplate()Check if it is href template- Returns:
true
if it is href template
-
toString
-
hashCode
public int hashCode() -
equals
-