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 Feedback
getFeedback()
String
getHostName()
String
getMbox()
String
getName()
void
setFeedback(Feedback feedback)
void
setHostName(String hostname)
void
setMbox(String mbox)
void
setMbox(String recipient, String subject, String body)
Sets thefoaf:mbox
property from the given parameters.void
setName(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:mbox
property from the given parameters.- Parameters:
recipient
- the mail recipient (e.g: contact@sodiuswillert.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)
-
-