Class RichHyperlinkType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.RichHyperlinkType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,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 ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}documentation" 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> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </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_DOCUMENTATION
static ItemName
F_ICON
static ItemName
F_LABEL
static ItemName
F_TARGET_URL
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description RichHyperlinkType()
RichHyperlinkType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
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_DOCUMENTATION
public static final ItemName F_DOCUMENTATION
-
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)
-
getDocumentation
public String getDocumentation()
-
setDocumentation
public void setDocumentation(String value)
-
getIcon
public IconType getIcon()
-
setIcon
public void setIcon(IconType value)
-
getColor
public String getColor()
-
setColor
public void setColor(String value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
targetUrl
public RichHyperlinkType targetUrl(String value)
-
label
public RichHyperlinkType label(String value)
-
description
public RichHyperlinkType description(String value)
-
documentation
public RichHyperlinkType documentation(String value)
-
icon
public RichHyperlinkType icon(IconType value)
-
beginIcon
public IconType beginIcon()
-
color
public RichHyperlinkType color(String value)
-
authorization
public RichHyperlinkType authorization(String value)
-
id
public RichHyperlinkType id(Long value)
-
clone
public RichHyperlinkType clone()
-
-