Package com.helger.phase4.model.pmode
Class PMode
java.lang.Object
com.helger.tenancy.AbstractBusinessObject
com.helger.phase4.model.pmode.PMode
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,com.helger.commons.type.IHasObjectType,com.helger.commons.type.ITypedObject<String>,com.helger.datetime.domain.IHasCreationDateTime,com.helger.datetime.domain.IHasDeletionDateTime,com.helger.datetime.domain.IHasLastModificationDateTime,IPMode,com.helger.tenancy.datetime.IHasCreationInfo,com.helger.tenancy.datetime.IHasDeletionInfo,com.helger.tenancy.datetime.IHasLastModificationInfo,com.helger.tenancy.IBusinessObject,Serializable
@MustImplementEqualsAndHashcode
public class PMode
extends com.helger.tenancy.AbstractBusinessObject
implements IPMode
Default implementation of
IPMode- Author:
- Philip Helger
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPMode(String sPModeID, PModeParty aInitiator, PModeParty aResponder, String sAgreement, EMEP eMEP, EMEPBinding eMEPBinding, PModeLeg aLeg1, PModeLeg aLeg2, PModePayloadService aPayloadService, PModeReceptionAwareness aReceptionAwareness) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfinal Stringfinal PModePartyfinal PModeLeggetLeg1()final PModeLeggetLeg2()final EMEPgetMEP()final EMEPBindingfinal com.helger.commons.type.ObjectTypefinal PModePayloadServicefinal PModeReceptionAwarenessfinal PModePartyinthashCode()final com.helger.commons.state.EChangesetAgreement(String sAgreement) final com.helger.commons.state.EChangesetInitiator(PModeParty aInitiator) final com.helger.commons.state.EChangefinal com.helger.commons.state.EChangefinal com.helger.commons.state.EChangefinal com.helger.commons.state.EChangesetMEPBinding(EMEPBinding eMEPBinding) final com.helger.commons.state.EChangesetPayloadService(PModePayloadService aPayloadService) final com.helger.commons.state.EChangesetReceptionAwareness(PModeReceptionAwareness aPModeReceptionAwareness) final com.helger.commons.state.EChangesetResponder(PModeParty aResponder) toString()Methods inherited from class com.helger.tenancy.AbstractBusinessObject
attrs, getCreationDateTime, getCreationUserID, getDeletionDateTime, getDeletionUserID, getID, getLastModificationDateTime, getLastModificationUserID, setDeletion, setLastModification, setUndeletionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.tenancy.IBusinessObject
attrs, getLastChangeDateTime, isDeleted, isLastChangeAfter, isNotDeletedMethods inherited from interface com.helger.datetime.domain.IHasCreationDateTime
getCreationDate, getCreationDateTime, getCreationTime, hasCreationDateTime, isCreatedAtMethods inherited from interface com.helger.tenancy.datetime.IHasCreationInfo
getCreationUserID, hasCreationUserIDMethods inherited from interface com.helger.datetime.domain.IHasDeletionDateTime
getDeletionDate, getDeletionDateTime, getDeletionTime, hasDeletionDateTime, isDeletedAtMethods inherited from interface com.helger.tenancy.datetime.IHasDeletionInfo
getDeletionUserID, hasDeletionUserIDMethods inherited from interface com.helger.commons.id.IHasID
getIDMethods inherited from interface com.helger.datetime.domain.IHasLastModificationDateTime
getLastModificationDate, getLastModificationDateTime, getLastModificationTime, hasLastModificationDateTime, isLastModifiedAtMethods inherited from interface com.helger.tenancy.datetime.IHasLastModificationInfo
getLastModificationUserID, hasLastModificationUserIDMethods inherited from interface com.helger.commons.type.IHasObjectType
getObjectTypeName, hasObjectTypeMethods inherited from interface com.helger.phase4.model.pmode.IPMode
getAsJson, getInitiatorID, getMEPBindingID, getMEPID, getResponderID, hasAgreement, hasInitiator, hasInitiatorID, hasLeg1, hasLeg2, hasPayloadService, hasReceptionAwareness, hasResponder, hasResponderID
-
Field Details
-
OT
public static final com.helger.commons.type.ObjectType OT
-
-
Constructor Details
-
PMode
public PMode(@Nonnull @Nonempty String sPModeID, @Nonnull PModeParty aInitiator, @Nonnull PModeParty aResponder, @Nonnull String sAgreement, @Nonnull EMEP eMEP, @Nonnull EMEPBinding eMEPBinding, @Nonnull PModeLeg aLeg1, @Nullable PModeLeg aLeg2, @Nullable PModePayloadService aPayloadService, @Nullable PModeReceptionAwareness aReceptionAwareness)
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein interfacecom.helger.commons.type.IHasObjectType
-
getInitiator
- Specified by:
getInitiatorin interfaceIPMode- Returns:
- The initiator party. May be
null.
-
setInitiator
@Nonnull public final com.helger.commons.state.EChange setInitiator(@Nullable PModeParty aInitiator) -
getResponder
- Specified by:
getResponderin interfaceIPMode- Returns:
- The responder party. May be
null.
-
setResponder
@Nonnull public final com.helger.commons.state.EChange setResponder(@Nullable PModeParty aResponder) -
getAgreement
- Specified by:
getAgreementin interfaceIPMode- Returns:
- The PMode agreement to use. May be
null.
-
setAgreement
-
getMEP
-
setMEP
-
getMEPBinding
- Specified by:
getMEPBindingin interfaceIPMode- Returns:
- The MEP binding to be used. May not be
null.
-
setMEPBinding
@Nonnull public final com.helger.commons.state.EChange setMEPBinding(@Nonnull EMEPBinding eMEPBinding) -
getLeg1
-
setLeg1
-
getLeg2
-
setLeg2
-
getPayloadService
- Specified by:
getPayloadServicein interfaceIPMode- Returns:
- The PMode payload service. May be
null.
-
setPayloadService
@Nonnull public final com.helger.commons.state.EChange setPayloadService(@Nullable PModePayloadService aPayloadService) -
getReceptionAwareness
- Specified by:
getReceptionAwarenessin interfaceIPMode- Returns:
- The PMode reception awareness. May be
null.
-
setReceptionAwareness
@Nonnull public final com.helger.commons.state.EChange setReceptionAwareness(@Nullable PModeReceptionAwareness aPModeReceptionAwareness) -
equals
- Overrides:
equalsin classcom.helger.tenancy.AbstractBusinessObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.helger.tenancy.AbstractBusinessObject
-
toString
- Overrides:
toStringin classcom.helger.tenancy.AbstractBusinessObject
-