@OslcNamespace(value="http://xmlns.com/foaf/0.1/")
@OslcName(value="Agent")
@OslcResourceShape(title="Agent Resource Shape",
describes="http://xmlns.com/foaf/0.1/Agent")
public class Agent
extends org.eclipse.lyo.oslc4j.core.model.AbstractResource
implements IAgent
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.lyo.oslc4j.core.model.ResourceShape |
createResourceShape() |
String |
getName() |
void |
setName(String name) |
String |
toString() |
String |
toString(boolean asLocalResource) |
public Agent()
public Agent(URI about)
public static org.eclipse.lyo.oslc4j.core.model.ResourceShape createResourceShape()
throws org.eclipse.lyo.oslc4j.core.exception.OslcCoreApplicationException,
URISyntaxException
org.eclipse.lyo.oslc4j.core.exception.OslcCoreApplicationExceptionURISyntaxExceptionpublic String toString(boolean asLocalResource)
@OslcName(value="name") @OslcPropertyDefinition(value="http://xmlns.com/foaf/0.1/name") @OslcDescription(value="The full name of a person expressed as simple text string.") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=String) @OslcReadOnly(value=false) public String getName()
Copyright © 2020. All rights reserved.