org.ws4d.java.message.metadata
Class GetMetadataResponseMessage
java.lang.Object
  
org.ws4d.java.types.UnknownDataContainer
      
org.ws4d.java.message.Message
          
org.ws4d.java.message.metadata.GetMetadataResponseMessage
- All Implemented Interfaces: 
 - DPWSMessageConstants
 
public class GetMetadataResponseMessage
- extends Message
 
 
 
| Fields inherited from interface org.ws4d.java.constants.DPWSMessageConstants | 
BYE_MESSAGE, FAULT_MESSAGE, GET_MESSAGE, GET_METADATA_MESSAGE, GET_METADATA_RESPONSE_MESSAGE, GET_RESPONSE_MESSAGE, GET_STATUS_MESSAGE, GET_STATUS_RESPONSE_MESSAGE, HELLO_MESSAGE, INVOKE_MESSAGE, MESSAGE_PROPERTY_DATA, PROBE_MATCHES_MESSAGE, PROBE_MESSAGE, RENEW_MESSAGE, RENEW_RESPONSE_MESSAGE, RESOLVE_MATCHES_MESSAGE, RESOLVE_MESSAGE, SUBSCRIBE_MESSAGE, SUBSCRIBE_RESPONSE_MESSAGE, SUBSCRIPTION_END_MESSAGE, UNKNOWN_MESSAGE, UNSUBSCRIBE_MESSAGE, UNSUBSCRIBE_RESPONSE_MESSAGE | 
 
 
 
| Methods inherited from class org.ws4d.java.message.Message | 
getAction, getAppSequence, getCertificate, getHeader, getMessageId, getPrivateKey, getProtocolInfo, getRelatesTo, getReplyTo, getRoutingScheme, getTargetAddress, getTargetXAddressInfo, getTo, isInbound, isSecure, setCertificate, setInbound, setPrivateKey, setProtocolInfo, setResponseTo, setResponseTo, setRoutingScheme, setSecure, setTargetXAddressInfo | 
 
 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
ACTION
public static final URI ACTION
GetMetadataResponseMessage
public GetMetadataResponseMessage(java.lang.String communicationManagerId)
- Creates a new GetMetadataResponse message containing a 
SOAPHeader
 with the appropriate action property set.
 All other header- and metadataexchange-related fields are empty and it is
 the caller's responsibility to fill them with suitable values.
 
GetMetadataResponseMessage
public GetMetadataResponseMessage(SOAPHeader header)
- Parameters:
 header - 
toString
public java.lang.String toString()
- Overrides:
 toString in class Message
 
 
getType
public int getType()
- Description copied from class: 
Message 
- Type of message.
- Specified by:
 getType in class Message
 
- Returns:
 - type.
 
 
 
getRelationship
public RelationshipMData getRelationship()
- Returns:
 - the relationship
 
 
getHost
public HostMData getHost()
 
getHosted
public HostedMData getHosted(AttributedURI address)
 
addRelationship
public void addRelationship(RelationshipMData relationship,
                            ConstantsHelper helper)
- Parameters:
 relationship - the relationship to add
 
getMetadataReferences
public EndpointReferenceSet getMetadataReferences()
- Returns:
 - the metadataReferences
 
 
addMetadataReference
public void addMetadataReference(EndpointReference metadataReference)
- Parameters:
 metadataReference - the metadataReference to add
 
getMetadataLocations
public URISet getMetadataLocations()
- Returns:
 - the metadataLocations
 
 
setMetadataLocations
public void setMetadataLocations(URISet locations)
 
addMetadataLocation
public void addMetadataLocation(URI metadataLocation)
- Parameters:
 metadataLocation - the metadataLocation to add
 
getWSDLs
public DataStructure getWSDLs()
- Returns:
 - the wsdls
 
 
addWSDL
public void addWSDL(WSDL wsdl)
- Parameters:
 wsdl - the wsdl to add