org.ws4d.java.types
Class RelationshipMData

java.lang.Object
  extended by org.ws4d.java.types.UnknownDataContainer
      extended by org.ws4d.java.types.RelationshipMData

public class RelationshipMData
extends UnknownDataContainer


Constructor Summary
RelationshipMData()
          Constructor.
 
Method Summary
 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, ConstantsHelper helper)
           
 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()
           
 
Methods inherited from class org.ws4d.java.types.UnknownDataContainer
addUnknownAttribute, addUnknownElement, getUnknownAttribute, getUnknownAttributes, getUnknownElement, getUnknownElements, getUnknownElements, setUnknownAttributes, setUnknownElements
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RelationshipMData

public RelationshipMData()
Constructor.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class UnknownDataContainer

getType

public URI getType()
Gets relationship type.

Returns:
relationship type.

setType

public void setType(URI type)
Sets relationship type.

Parameters:
type - relationship type.

getHost

public HostMData getHost()
Gets host metadata.

Returns:
host metadata.

setHost

public void setHost(HostMData hostData)
Sets host (device) metadata.

Parameters:
hostData - host metadata.

getHosted

public DataStructure getHosted()
Gets the data structure of hosted (service) metadata.

Returns:
list of hosted metadata.

setHosted

public void setHosted(DataStructure hostedData)
Sets the data structure of hosted (service) metadata.

Parameters:
hostedData - data structure of hosted metadata.

addHosted

public void addHosted(HostedMData hosted)

mergeWith

public void mergeWith(RelationshipMData relationship,
                      ConstantsHelper helper)