@OslcNamespace(value="http://xmlns.com/foaf/0.1/")
@OslcName(value="Person")
@OslcResourceShape(title="Person Resource Shape",
describes="http://xmlns.com/foaf/0.1/Person")
public class Person
extends org.eclipse.lyo.oslc4j.core.model.AbstractResource
implements IPerson
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.lyo.oslc4j.core.model.ResourceShape |
createResourceShape() |
String |
getFamilyName() |
String |
getGivenName() |
String |
getName() |
void |
setFamilyName(String familyName) |
void |
setGivenName(String givenName) |
void |
setName(String name) |
String |
toString() |
String |
toString(boolean asLocalResource) |
public Person()
public Person(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="familyName") @OslcPropertyDefinition(value="http://xmlns.com/foaf/0.1/familyName") @OslcDescription(value="Family name of person expressed as simple text string.") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=String) @OslcReadOnly(value=false) public String getFamilyName()
getFamilyName in interface IPerson@OslcName(value="givenName") @OslcPropertyDefinition(value="http://xmlns.com/foaf/0.1/givenName") @OslcDescription(value="Given name of person expressed as simple text string. ") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=String) @OslcReadOnly(value=false) public String getGivenName()
getGivenName in interface IPerson@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()
public void setFamilyName(String familyName)
setFamilyName in interface IPersonpublic void setGivenName(String givenName)
setGivenName in interface IPersonCopyright © 2020. All rights reserved.