Class LinksAppearance
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.server.process.model.LinksAppearance
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://www.sodius.com/ns/process#")
@OslcResourceShape(title="Links Appearance Resource Shape",
describes="http://www.sodius.com/ns/process#LinksAppearance")
public class LinksAppearance
extends AbstractResource
Encapsulates the attributes for the links appearance configuration.
- Since:
- 3.3.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTheLinksAppearancebuilder class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LinksAppearance.BuilderStarts the creation of aLinksAppearanceinstance by specifying the first attribute title.static LinksAppearance.BuilderStarts the creation of aLinksAppearanceinstance by specifying the first attribute title and comment.Gets the configured attributes for the links appearance.booleanvoidsetAttributes(LinkAttribute[] attributes) Sets the attributes configured for the links appearance.voidsetDisabled(boolean disabled) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
LinksAppearance
public LinksAppearance(boolean disabled) -
LinksAppearance
public LinksAppearance()
-
-
Method Details
-
attribute
Starts the creation of aLinksAppearanceinstance by specifying the first attribute title and comment.- Parameters:
title- first attribute title.comment- first attribute comment.- Returns:
- the
LinksAppearancebuilder instance.
-
attribute
Starts the creation of aLinksAppearanceinstance by specifying the first attribute title.- Parameters:
title- first attribute title.- Returns:
- the
LinksAppearancebuilder instance.
-
isDisabled
@OslcTitle("Disabled") @OslcOccurs(ExactlyOne) @OslcValueType(Boolean) @OslcPropertyDefinition("http://www.sodius.com/ns/process#disabled") @OslcDescription("Whether or not links appearance is disabled") public boolean isDisabled() -
setDisabled
public void setDisabled(boolean disabled) -
getAttributes
@OslcTitle("Attribute") @OslcName("linkAttribute") @OslcOccurs(ZeroOrMany) @OslcValueType(LocalResource) @OslcRepresentation(Inline) @OslcRdfCollectionType(collectionType="Seq") @OslcPropertyDefinition("http://www.sodius.com/ns/process#linkAttribute") @OslcDescription("The links appearance attributes") public LinkAttribute[] getAttributes()Gets the configured attributes for the links appearance.- Returns:
- the configured attributes for the links appearance.
-
setAttributes
Sets the attributes configured for the links appearance.- Parameters:
attributes- the attributes configured for the links appearance.
-