Class AbstractInferredInteractionParticipant
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.AbstractInferredInteractionParticipant
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
- Direct Known Subclasses:
InferredInteractionParticipant
,InferredInteractionParticipant
,InferredInteractionParticipant
public abstract class AbstractInferredInteractionParticipant extends Object implements FileSourceContext, com.sun.xml.bind.Locatable
Participant of the inferred interaction.Java class for inferredInteractionParticipant complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="inferredInteractionParticipant"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <elements name="participantRef" type="{http://www.w3.org/2001/XMLSchema}int"/> <elements name="participantFeatureRef" type="{http://www.w3.org/2001/XMLSchema}int"/> </choice> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description AbstractInferredInteractionParticipant()
Constructor for AbstractInferredInteractionParticipant.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Feature
getFeature()
Getter for the fieldfeature
.protected FileSourceLocator
getInferredParticipantLocator()
Entity
getParticipant()
Getter for the fieldparticipant
.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.void
setFeature(Feature feature)
Setter for the fieldfeature
.void
setJAXBParticipantFeatureRef(Feature feature)
Sets the value of the participantFeatureRef property.void
setJAXBParticipantRef(Entity participant)
Sets the value of the participantRef property.void
setParticipant(Entity participant)
Setter for the fieldparticipant
.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorLocator
sourceLocation()
String
toString()
toString
-
-
-
Method Detail
-
getParticipant
public Entity getParticipant()
Getter for the field
participant
.- Returns:
- a
Entity
object.
-
setFeature
public void setFeature(Feature feature)
Setter for the field
feature
.- Parameters:
feature
- aFeature
object.
-
setParticipant
public void setParticipant(Entity participant)
Setter for the field
participant
.- Parameters:
participant
- aEntity
object.
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocation
in interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
sourceLocator
- : the file locator
-
setJAXBParticipantFeatureRef
public void setJAXBParticipantFeatureRef(Feature feature)
Sets the value of the participantFeatureRef property.- Parameters:
feature
- allowed object isFeature
-
setJAXBParticipantRef
public void setJAXBParticipantRef(Entity participant)
Sets the value of the participantRef property.- Parameters:
participant
- allowed object isEntity
-
getInferredParticipantLocator
protected FileSourceLocator getInferredParticipantLocator()
-
toString
public String toString()
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classObject
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-