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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceShapecreateResourceShape()StringgetName()voidsetName(String name)StringtoString()StringtoString(boolean asLocalResource)-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Constructor Detail
-
Agent
public Agent()
-
Agent
public Agent(URI about)
-
-
Method Detail
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException
-
toString
public String toString(boolean asLocalResource)
-
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()
-
-