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.base.id.IHasID<String>,com.helger.base.type.IHasObjectType,com.helger.base.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(@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 Summary
Modifier and TypeMethodDescriptionbooleanfinal @Nullable Stringfinal @Nullable PModePartyfinal @Nullable PModeLeggetLeg1()final @Nullable PModeLeggetLeg2()final @NonNull EMEPgetMEP()final @NonNull EMEPBindingfinal @NonNull com.helger.base.type.ObjectTypefinal @Nullable PModePayloadServicefinal @Nullable PModeReceptionAwarenessfinal @Nullable PModePartyinthashCode()final @NonNull com.helger.base.state.EChangesetAgreement(@Nullable String sAgreement) final @NonNull com.helger.base.state.EChangesetInitiator(@Nullable PModeParty aInitiator) final @NonNull com.helger.base.state.EChangefinal @NonNull com.helger.base.state.EChangefinal @NonNull com.helger.base.state.EChangefinal @NonNull com.helger.base.state.EChangesetMEPBinding(@NonNull EMEPBinding eMEPBinding) final @NonNull com.helger.base.state.EChangesetPayloadService(@Nullable PModePayloadService aPayloadService) final @NonNull com.helger.base.state.EChangesetReceptionAwareness(@Nullable PModeReceptionAwareness aPModeReceptionAwareness) final @NonNull com.helger.base.state.EChangesetResponder(@Nullable 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.base.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.base.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.base.type.ObjectType OT
-
-
Constructor Details
-
PMode
public PMode(@Nonempty @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
public final @NonNull com.helger.base.type.ObjectType getObjectType()- Specified by:
getObjectTypein interfacecom.helger.base.type.IHasObjectType
-
getInitiator
- Specified by:
getInitiatorin interfaceIPMode- Returns:
- The initiator party. May be
null.
-
setInitiator
-
getResponder
- Specified by:
getResponderin interfaceIPMode- Returns:
- The responder party. May be
null.
-
setResponder
-
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
-
getLeg1
-
setLeg1
-
getLeg2
-
setLeg2
-
getPayloadService
- Specified by:
getPayloadServicein interfaceIPMode- Returns:
- The PMode payload service. May be
null.
-
setPayloadService
public final @NonNull com.helger.base.state.EChange setPayloadService(@Nullable PModePayloadService aPayloadService) -
getReceptionAwareness
- Specified by:
getReceptionAwarenessin interfaceIPMode- Returns:
- The PMode reception awareness. May be
null.
-
setReceptionAwareness
public final @NonNull com.helger.base.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
-