Package com.helger.phase4.model.pmode
Interface IPMode
- All Superinterfaces:
com.helger.tenancy.IBusinessObject,com.helger.datetime.domain.IHasCreationDateTime,com.helger.tenancy.datetime.IHasCreationInfo,com.helger.datetime.domain.IHasDeletionDateTime,com.helger.tenancy.datetime.IHasDeletionInfo,com.helger.commons.id.IHasID<String>,com.helger.datetime.domain.IHasLastModificationDateTime,com.helger.tenancy.datetime.IHasLastModificationInfo,com.helger.commons.type.IHasObjectType,com.helger.commons.type.ITypedObject<String>
- All Known Implementing Classes:
PMode
public interface IPMode
extends com.helger.tenancy.IBusinessObject
Base read-only interface for a single
PMode.- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.helger.json.IJsonObjectdefault StringgetLeg1()getLeg2()getMEP()default Stringdefault StringgetMEPID()default Stringdefault booleandefault booleandefault booleanhasInitiatorID(String sID) Check if this PMode has the provided initiator party ID.default booleanhasLeg1()default booleanhasLeg2()default booleandefault booleandefault booleandefault booleanhasResponderID(String sID) Check if this PMode has the provided responder party ID.Methods 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
getObjectType, getObjectTypeName, hasObjectType
-
Method Details
-
getInitiator
- Returns:
- The initiator party. May be
null.
-
hasInitiator
default boolean hasInitiator()- Returns:
trueif an initiator party is present,falseif not.
-
getInitiatorID
- Returns:
- The initiator party ID or
nullif no initiator is present. - See Also:
-
hasInitiatorID
Check if this PMode has the provided initiator party ID.- Parameters:
sID- The ID to check against. May benull.- Returns:
trueif this PMode has the provided initiator ID,falseif not. Ifnullis passed and no initiator party is present, the result will betrue.- See Also:
-
getResponder
- Returns:
- The responder party. May be
null.
-
hasResponder
default boolean hasResponder()- Returns:
trueif an responder party is present,falseif not.
-
getResponderID
- Returns:
- The responder party ID or
nullif no responder is present. - See Also:
-
hasResponderID
Check if this PMode has the provided responder party ID.- Parameters:
sID- The ID to check against. May benull.- Returns:
trueif this PMode has the provided responder ID,falseif not. Ifnullis passed and no responder party is present, the result will betrue.- See Also:
-
getAgreement
- Returns:
- The PMode agreement to use. May be
null.
-
hasAgreement
default boolean hasAgreement()- Returns:
trueif a PMode agreement is present,falseif not.
-
getMEP
- Returns:
- The Message Exchange Profile (MEP) to be used. May not be
null.
-
getMEPID
- Returns:
- The ID of the Message Exchange Profile to be used. May neither be
nullnor empty.
-
getMEPBinding
- Returns:
- The MEP binding to be used. May not be
null.
-
getMEPBindingID
- Returns:
- The ID of the MEP binding to be used. May neither be
nullnor empty.
-
getLeg1
- Returns:
- The first leg of the PMode for the first interaction. May be
null.
-
hasLeg1
default boolean hasLeg1()- Returns:
trueif this PMode has a first leg,falseif not.
-
getLeg2
- Returns:
- The second leg of the PMode for the first interaction. May be
null.
-
hasLeg2
default boolean hasLeg2()- Returns:
trueif this PMode has a second leg,falseif not.
-
getPayloadService
- Returns:
- The PMode payload service. May be
null.
-
hasPayloadService
default boolean hasPayloadService()- Returns:
trueif the PMode payload service is set,falseif not.
-
getReceptionAwareness
- Returns:
- The PMode reception awareness. May be
null.
-
hasReceptionAwareness
default boolean hasReceptionAwareness()- Returns:
trueif this PMode reception awareness is set,falseif not.
-
getAsJson
- Returns:
- The JSON representation of the PMode. Never
null. - Since:
- 0.12.0
-