Package org.eclipse.lyo.oslc.domains
Interface IPerson
- All Known Implementing Classes:
Person
@OslcNamespace("http://xmlns.com/foaf/0.1/")
@OslcName("Person")
@OslcResourceShape(title="Person Shape",
describes="http://xmlns.com/foaf/0.1/Person")
public interface IPerson
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
setFamilyName
(String familyName) void
setGivenName
(String givenName) void
-
Method Details
-
getFamilyName
@OslcName("familyName") @OslcPropertyDefinition("http://xmlns.com/foaf/0.1/familyName") @OslcDescription("Family name of person expressed as simple text string.") @OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcReadOnly(false) String getFamilyName() -
getGivenName
@OslcName("givenName") @OslcPropertyDefinition("http://xmlns.com/foaf/0.1/givenName") @OslcDescription("Given name of person expressed as simple text string. ") @OslcOccurs(ExactlyOne) @OslcValueType(String) @OslcReadOnly(false) String getGivenName() -
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) String getName() -
setFamilyName
-
setGivenName
-
setName
-