public class RichHyperlinkType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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>
Modifier and Type | Field and Description |
---|---|
protected List<String> |
authorization |
protected String |
color |
static QName |
COMPLEX_TYPE |
protected String |
description |
static QName |
F_AUTHORIZATION |
static QName |
F_COLOR |
static QName |
F_DESCRIPTION |
static QName |
F_ICON |
static QName |
F_LABEL |
static QName |
F_TARGET_URL |
protected IconType |
icon |
protected String |
label |
protected String |
targetUrl |
Constructor and Description |
---|
RichHyperlinkType()
Creates a new
RichHyperlinkType instance. |
RichHyperlinkType(RichHyperlinkType o)
Creates a new
RichHyperlinkType instance by deeply copying a given RichHyperlinkType instance. |
Modifier and Type | Method and Description |
---|---|
RichHyperlinkType |
authorization(String value) |
IconType |
beginIcon() |
RichHyperlinkType |
clone()
Creates and returns a deep copy of this object.
|
RichHyperlinkType |
color(String value) |
RichHyperlinkType |
description(String value) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<String> |
getAuthorization()
Gets the value of the authorization property.
|
String |
getColor()
Gets the value of the color property.
|
String |
getDescription()
Gets the value of the description property.
|
IconType |
getIcon()
Gets the value of the icon property.
|
String |
getLabel()
Gets the value of the label property.
|
String |
getTargetUrl()
Gets the value of the targetUrl property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
RichHyperlinkType |
icon(IconType value) |
RichHyperlinkType |
label(String value) |
void |
setColor(String value)
Sets the value of the color property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setIcon(IconType value)
Sets the value of the icon property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
void |
setTargetUrl(String value)
Sets the value of the targetUrl property.
|
RichHyperlinkType |
targetUrl(String value) |
String |
toString()
Generates a String representation of the contents of this type.
|
protected String targetUrl
protected String label
protected String description
protected IconType icon
protected String color
public static final QName COMPLEX_TYPE
public static final QName F_TARGET_URL
public static final QName F_LABEL
public static final QName F_DESCRIPTION
public static final QName F_ICON
public static final QName F_COLOR
public static final QName F_AUTHORIZATION
public RichHyperlinkType()
RichHyperlinkType
instance.public RichHyperlinkType(RichHyperlinkType o)
RichHyperlinkType
instance by deeply copying a given RichHyperlinkType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public String getTargetUrl()
String
public void setTargetUrl(String value)
value
- allowed object is
String
public String getLabel()
String
public void setLabel(String value)
value
- allowed object is
String
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public IconType getIcon()
IconType
public void setIcon(IconType value)
value
- allowed object is
IconType
public String getColor()
String
public void setColor(String value)
value
- allowed object is
String
public List<String> getAuthorization()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the authorization property.
For example, to add a new item, do as follows:
getAuthorization().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public RichHyperlinkType targetUrl(String value)
public RichHyperlinkType label(String value)
public RichHyperlinkType description(String value)
public RichHyperlinkType icon(IconType value)
public IconType beginIcon()
public RichHyperlinkType color(String value)
public RichHyperlinkType authorization(String value)
public RichHyperlinkType clone()
Copyright © 2017 Evolveum. All rights reserved.