org.apache.muse.ws.dm.muws
Interface RelationshipResource
- All Superinterfaces:
- Capability, Initialization, InitializationParameters, ManageabilityCapability, Shutdown, WsResourceCapability, org.apache.muse.ws.resource.WsResourceCapabilityProperties, XmlSerializable
- All Known Implementing Classes:
- SimpleRelationshipResource
- public interface RelationshipResource
- extends ManageabilityCapability, XmlSerializable
RelationshipResource is the interface that describes WSDM relationships as
WS-RF implied resources. Resources that use this capability represent the
relationships that exist between other WS-resources in a system and should
not, as a general rule, have any other significant state or interface.
- Author:
- Dan Jemiolo (danj)
Methods inherited from interface org.apache.muse.core.Capability |
getActions, getCapabilityURI, getEnvironment, getLog, getMessageHandler, getPersistence, getResource, initializeCompleted, prepareShutdown, setCapabilityURI, setEnvironment, setLog, setMessageHandlers, setPersistence, setResource |
PROPERTIES
public static final QName[] PROPERTIES
getAccessEndpointReference
public EndpointReference getAccessEndpointReference()
throws BaseFault
- Returns:
- The relationship resource's EPR - this should be the same
value returned by Resource.getEndpointReference().
- Throws:
BaseFault
- See Also:
Resource.getEndpointReference()
getName
public java.lang.String getName()
throws BaseFault
- Returns:
- A descriptive name for this relationship.
- Throws:
BaseFault
getType
public RelationshipType getType()
throws BaseFault
- Returns:
- The type of this relationship, as defined by an XSD complex type.
- Throws:
BaseFault
getParticipant
public Participant[] getParticipant()
throws BaseFault
- Returns:
- The participants in this relationship. The array will have
a length of at least 2.
- Throws:
BaseFault
setName
public void setName(java.lang.String name)
throws BaseFault
- Throws:
BaseFault
setType
public void setType(RelationshipType type)
throws BaseFault
- Throws:
BaseFault
setParticipant
public void setParticipant(Participant[] participants)
throws BaseFault
- Parameters:
participants
- The participants in this relationship. The array must have
a length of at least 2.
- Throws:
BaseFault