Package org.eclipse.lyo.oslc.domains
Class Agent
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc.domains.Agent
- All Implemented Interfaces:
IAgent
,IExtendedResource
,IResource
@OslcNamespace("http://xmlns.com/foaf/0.1/")
@OslcName("Agent")
@OslcResourceShape(title="Agent Shape",
describes="http://xmlns.com/foaf/0.1/Agent")
public class Agent
extends AbstractResource
implements IAgent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceShape
getName()
void
toString()
toString
(boolean asLocalResource) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
Agent
public Agent() -
Agent
-
-
Method Details
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException -
toString
-
toString
-
getName
@OslcName("name") @OslcPropertyDefinition("http://xmlns.com/foaf/0.1/name") @OslcDescription("The full name of a person expressed as simple text string.") @OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcReadOnly(false) public String getName() -
setName
-