@OslcNamespace(value="http://www.sodius.com/ns/oauth#")
@OslcResourceShape(title="Friend Resource Shape",
describes="http://www.sodius.com/ns/oauth#Friend")
public class Friend
extends org.eclipse.lyo.oslc4j.core.model.AbstractResource
Constructor and Description |
---|
Friend() |
Modifier and Type | Method and Description |
---|---|
String |
getConsumerKey() |
String |
getConsumerSecret() |
String |
getIdentifier() |
URI |
getRootServices() |
String |
getState()
Allows to know whether a Friend is available or not.
|
String |
getTitle() |
void |
setConsumerKey(String consumerKey) |
void |
setConsumerSecret(String consumerSecret) |
void |
setIdentifier(String identifier) |
void |
setRootServices(URI rootServices) |
void |
setState(String state) |
void |
setTitle(String title) |
@OslcDescription(value="A unique identifier for a resource. Assigned by the service provider when a resource is created. Not intended for end-user display.") @OslcOccurs(value=ExactlyOne) @OslcPropertyDefinition(value="http://purl.org/dc/terms/identifier") @OslcTitle(value="Identifier") public String getIdentifier()
public void setIdentifier(String identifier)
@OslcDescription(value="Title (reference: Dublin Core) or often a single line summary of the resource represented as rich text in XHTML content.") @OslcOccurs(value=ExactlyOne) @OslcPropertyDefinition(value="http://purl.org/dc/terms/title") @OslcTitle(value="Title") @OslcValueType(value=XMLLiteral) public String getTitle()
public void setTitle(String title)
@OslcPropertyDefinition(value="http://www.sodius.com/ns/oauth#rootServices") public URI getRootServices()
public void setRootServices(URI rootServices)
@OslcPropertyDefinition(value="http://www.sodius.com/ns/oauth#consumerKey") public String getConsumerKey()
public void setConsumerKey(String consumerKey)
@OslcPropertyDefinition(value="http://www.sodius.com/ns/oauth#consumerSecret") public String getConsumerSecret()
public void setConsumerSecret(String consumerSecret)
@OslcName(value="friendState") @OslcPropertyDefinition(value="http://www.sodius.com/ns/oauth#friendState") public String getState()
public void setState(String state)