Class LicenseConfiguration
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.server.security.model.LicenseConfiguration
-
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://www.sodius.com/ns/security#") @OslcResourceShape(title="License Configuration Resource Shape", describes="http://www.sodius.com/ns/security#LicenseConfiguration") public class LicenseConfiguration extends AbstractResource
Transports license status- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description LicenseConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeedbackgetFeedback()StringgetHostName()StringgetMbox()StringgetName()voidsetFeedback(Feedback feedback)voidsetHostName(String hostname)voidsetMbox(String mbox)voidsetMbox(String recipient, String subject, String body)Sets thefoaf:mboxproperty from the given parameters.voidsetName(String name)-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getHostName
@OslcPropertyDefinition("http://www.sodius.com/ns/security#hostName") @OslcOccurs(ExactlyOne) public String getHostName()
-
setHostName
public void setHostName(String hostname)
-
getMbox
@OslcPropertyDefinition("http://xmlns.com/foaf/0.1/mbox") public String getMbox()
-
setMbox
public void setMbox(String mbox)
-
setMbox
public void setMbox(String recipient, String subject, String body)
Sets thefoaf:mboxproperty from the given parameters.- Parameters:
recipient- the mail recipient (e.g: contact@mycompany.com)subject- the mail subject, must not be URL encodedbody- the mail body, must not be URL encoded
-
getName
@OslcPropertyDefinition("http://xmlns.com/foaf/0.1/name") public String getName()
-
setName
public void setName(String name)
-
getFeedback
@OslcPropertyDefinition("http://www.sodius.com/ns/feedback#feedback") @OslcValueType(LocalResource) public Feedback getFeedback()
-
setFeedback
public void setFeedback(Feedback feedback)
-
-