Package org.appng.xml.platform
Class Link
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.Link
-
- All Implemented Interfaces:
Serializable
public class Link extends BaseObject implements Serializable
Links to an (internal) page/webservice, or to an external location.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
_default
protected String
active
protected Condition
condition
protected Label
confirmation
protected Boolean
disabled
protected Icon
icon
protected String
id
protected Label
label
protected Linkmode
mode
protected Permissions
permissions
protected Boolean
showDisabled
protected String
target
protected Textelements
textelements
-
Constructor Summary
Constructors Constructor Description Link()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActive()
If evaluating totrue
, the link will be marked as currently active.Condition
getCondition()
Gets the value of the condition property.Label
getConfirmation()
Gets the value of the confirmation property.String
getDefault()
Icon
getIcon()
Gets the value of the icon property.String
getId()
The unqiue id of thisLink
within the owningLinkpanel
Label
getLabel()
Gets the value of the label property.Linkmode
getMode()
TheLinkmode
used when displaying this link.Permissions
getPermissions()
Gets the value of the permissions property.String
getTarget()
The URI of the link, may be relative to the application (Linkmode.INTERN
orLinkmode.INTERN
) or absolute (Linkmode.EXTERN
)Textelements
getTextelements()
Gets the value of the textelements property.Boolean
isDisabled()
Whether or not this link is disabled, see alsoisShowDisabled()
Boolean
isShowDisabled()
If set totrue
, and the link condition evaluates tofalse
, the link will be displayed in an disabled state instead of hiding it completely.void
setActive(String value)
Sets the value of the active property.void
setCondition(Condition value)
Sets the value of the condition property.void
setConfirmation(Label value)
Sets the value of the confirmation property.void
setDefault(String value)
Sets the value of the default property.void
setDisabled(Boolean value)
Sets the value of the disabled property.void
setIcon(Icon value)
Sets the value of the icon property.void
setId(String value)
Sets the value of the id property.void
setLabel(Label value)
Sets the value of the label property.void
setMode(Linkmode value)
Sets the value of the mode property.void
setPermissions(Permissions value)
Sets the value of the permissions property.void
setShowDisabled(Boolean value)
Sets the value of the showDisabled property.void
setTarget(String value)
Sets the value of the target property.void
setTextelements(Textelements value)
Sets the value of the textelements property.
-
-
-
Field Detail
-
condition
protected Condition condition
-
permissions
protected Permissions permissions
-
label
protected Label label
-
icon
protected Icon icon
-
confirmation
protected Label confirmation
-
textelements
protected Textelements textelements
-
id
protected String id
-
mode
protected Linkmode mode
-
target
protected String target
-
_default
protected String _default
-
active
protected String active
-
disabled
protected Boolean disabled
-
showDisabled
protected Boolean showDisabled
-
-
Method Detail
-
getCondition
public Condition getCondition()
Gets the value of the condition property.- Returns:
- possible object is
Condition
-
setCondition
public void setCondition(Condition value)
Sets the value of the condition property.- Parameters:
value
- allowed object isCondition
-
getPermissions
public Permissions getPermissions()
Gets the value of the permissions property.- Returns:
- possible object is
Permissions
-
setPermissions
public void setPermissions(Permissions value)
Sets the value of the permissions property.- Parameters:
value
- allowed object isPermissions
-
getLabel
public Label getLabel()
Gets the value of the label property.- Returns:
- possible object is
Label
-
setLabel
public void setLabel(Label value)
Sets the value of the label property.- Parameters:
value
- allowed object isLabel
-
setIcon
public void setIcon(Icon value)
Sets the value of the icon property.- Parameters:
value
- allowed object isIcon
-
getConfirmation
public Label getConfirmation()
Gets the value of the confirmation property.- Returns:
- possible object is
Label
-
setConfirmation
public void setConfirmation(Label value)
Sets the value of the confirmation property.- Parameters:
value
- allowed object isLabel
-
getTextelements
public Textelements getTextelements()
Gets the value of the textelements property.- Returns:
- possible object is
Textelements
-
setTextelements
public void setTextelements(Textelements value)
Sets the value of the textelements property.- Parameters:
value
- allowed object isTextelements
-
getId
public String getId()
The unqiue id of thisLink
within the owningLinkpanel
- Returns:
- possible object is
String
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getMode
public Linkmode getMode()
TheLinkmode
used when displaying this link.- Returns:
- possible object is
Linkmode
-
setMode
public void setMode(Linkmode value)
Sets the value of the mode property.- Parameters:
value
- allowed object isLinkmode
-
getTarget
public String getTarget()
The URI of the link, may be relative to the application (Linkmode.INTERN
orLinkmode.INTERN
) or absolute (Linkmode.EXTERN
)- Returns:
- possible object is
String
-
setTarget
public void setTarget(String value)
Sets the value of the target property.- Parameters:
value
- allowed object isString
-
setDefault
public void setDefault(String value)
Sets the value of the default property.- Parameters:
value
- allowed object isString
-
getActive
public String getActive()
If evaluating totrue
, the link will be marked as currently active.- Returns:
- possible object is
String
-
setActive
public void setActive(String value)
Sets the value of the active property.- Parameters:
value
- allowed object isString
-
isDisabled
public Boolean isDisabled()
Whether or not this link is disabled, see alsoisShowDisabled()
- Returns:
- possible object is
Boolean
-
setDisabled
public void setDisabled(Boolean value)
Sets the value of the disabled property.- Parameters:
value
- allowed object isBoolean
-
isShowDisabled
public Boolean isShowDisabled()
If set totrue
, and the link condition evaluates tofalse
, the link will be displayed in an disabled state instead of hiding it completely.- Returns:
- possible object is
Boolean
-
-