public class RelationshipMData extends UnknownDataContainer
unknownAttributes, unknownElements_QN_2_List| Constructor and Description |
|---|
RelationshipMData()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHosted(HostedMData hosted) |
HostMData |
getHost()
Gets host metadata.
|
DataStructure |
getHosted()
Gets the data structure of
hosted (service) metadata. |
URI |
getType()
Gets relationship type.
|
void |
mergeWith(RelationshipMData relationship) |
void |
setHost(HostMData hostData)
Sets host (device) metadata.
|
void |
setHosted(DataStructure hostedData)
Sets the data structure of hosted (service) metadata.
|
void |
setType(URI type)
Sets relationship type.
|
java.lang.String |
toString() |
addUnknownAttribute, addUnknownElement, getUnknownAttribute, getUnknownAttributes, getUnknownElement, getUnknownElements, getUnknownElements, setUnknownAttributes, setUnknownElementspublic java.lang.String toString()
toString in class UnknownDataContainerpublic URI getType()
public void setType(URI type)
type - relationship type.public HostMData getHost()
public void setHost(HostMData hostData)
hostData - host metadata.public DataStructure getHosted()
hosted (service) metadata.public void setHosted(DataStructure hostedData)
hostedData - data structure of hosted metadata.public void addHosted(HostedMData hosted)
public void mergeWith(RelationshipMData relationship)