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 FeaturegetFeature()Getter for the fieldfeature.protected FileSourceLocatorgetInferredParticipantLocator()EntitygetParticipant()Getter for the fieldparticipant.FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.voidsetFeature(Feature feature)Setter for the fieldfeature.voidsetJAXBParticipantFeatureRef(Feature feature)Sets the value of the participantFeatureRef property.voidsetJAXBParticipantRef(Entity participant)Sets the value of the participantRef property.voidsetParticipant(Entity participant)Setter for the fieldparticipant.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorLocatorsourceLocation()StringtoString()toString
-
-
-
Method Detail
-
getParticipant
public Entity getParticipant()
Getter for the field
participant.- Returns:
- a
Entityobject.
-
setFeature
public void setFeature(Feature feature)
Setter for the field
feature.- Parameters:
feature- aFeatureobject.
-
setParticipant
public void setParticipant(Entity participant)
Setter for the field
participant.- Parameters:
participant- aEntityobject.
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- a
FileSourceLocatorobject.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocatorin 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:
toStringin interfaceFileSourceContext- Overrides:
toStringin classObject- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-