Class RichHyperlinkType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.RichHyperlinkType
-
- All Implemented Interfaces:
Containerable
,Serializable
,Cloneable
public class RichHyperlinkType extends Object implements Serializable, Cloneable, Containerable
Hyperlink with a label, menu and other data that control a rich presentation of the link. Not all parameters that are present in this data structure might be supported in all the places where a link is used. Which parameter will be used depends on where exactly is the link used and how it is rendered (as an menu item, application launch button, etc.)Java class for RichHyperlinkType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RichHyperlinkType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="targetUrl" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="icon" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}IconType" minOccurs="0"/> <element name="color" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="authorization" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_AUTHORIZATION
static ItemName
F_COLOR
static ItemName
F_DESCRIPTION
static ItemName
F_ICON
static ItemName
F_LABEL
static ItemName
F_TARGET_URL
-
Constructor Summary
Constructors Constructor Description RichHyperlinkType()
RichHyperlinkType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValue
asPrismContainerValue()
RichHyperlinkType
authorization(String value)
IconType
beginIcon()
RichHyperlinkType
clone()
RichHyperlinkType
color(String value)
List<String>
createAuthorizationList()
RichHyperlinkType
description(String value)
<X> X
end()
boolean
equals(Object object)
List<String>
getAuthorization()
String
getColor()
String
getDescription()
IconType
getIcon()
String
getLabel()
String
getTargetUrl()
int
hashCode()
RichHyperlinkType
icon(IconType value)
RichHyperlinkType
label(String value)
void
setColor(String value)
void
setDescription(String value)
void
setIcon(IconType value)
void
setLabel(String value)
void
setTargetUrl(String value)
void
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.RichHyperlinkType
targetUrl(String value)
String
toString()
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_TARGET_URL
public static final ItemName F_TARGET_URL
-
F_LABEL
public static final ItemName F_LABEL
-
F_DESCRIPTION
public static final ItemName F_DESCRIPTION
-
F_ICON
public static final ItemName F_ICON
-
F_COLOR
public static final ItemName F_COLOR
-
F_AUTHORIZATION
public static final ItemName F_AUTHORIZATION
-
-
Constructor Detail
-
RichHyperlinkType
public RichHyperlinkType()
-
RichHyperlinkType
public RichHyperlinkType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getTargetUrl
public String getTargetUrl()
-
setTargetUrl
public void setTargetUrl(String value)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String value)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String value)
-
getIcon
public IconType getIcon()
-
setIcon
public void setIcon(IconType value)
-
getColor
public String getColor()
-
setColor
public void setColor(String value)
-
targetUrl
public RichHyperlinkType targetUrl(String value)
-
label
public RichHyperlinkType label(String value)
-
description
public RichHyperlinkType description(String value)
-
icon
public RichHyperlinkType icon(IconType value)
-
beginIcon
public IconType beginIcon()
-
color
public RichHyperlinkType color(String value)
-
authorization
public RichHyperlinkType authorization(String value)
-
clone
public RichHyperlinkType clone()
-
-