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 Classes Modifier and Type Class Description static class
LinksAppearance.Builder
TheLinksAppearance
builder class.
-
Constructor Summary
Constructors Constructor Description LinksAppearance()
LinksAppearance(boolean disabled)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinksAppearance.Builder
attribute(String title)
Starts the creation of aLinksAppearance
instance by specifying the first attribute title.static LinksAppearance.Builder
attribute(String title, String comment)
Starts the creation of aLinksAppearance
instance by specifying the first attribute title and comment.LinkAttribute[]
getAttributes()
Gets the configured attributes for the links appearance.boolean
isDisabled()
void
setAttributes(LinkAttribute[] attributes)
Sets the attributes configured for the links appearance.void
setDisabled(boolean disabled)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
attribute
public static LinksAppearance.Builder attribute(String title, String comment)
Starts the creation of aLinksAppearance
instance by specifying the first attribute title and comment.- Parameters:
title
- first attribute title.comment
- first attribute comment.- Returns:
- the
LinksAppearance
builder instance.
-
attribute
public static LinksAppearance.Builder attribute(String title)
Starts the creation of aLinksAppearance
instance by specifying the first attribute title.- Parameters:
title
- first attribute title.- Returns:
- the
LinksAppearance
builder 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
public void setAttributes(LinkAttribute[] attributes)
Sets the attributes configured for the links appearance.- Parameters:
attributes
- the attributes configured for the links appearance.
-
-