Package com.helger.peppol.smp
Class SMPTransportProfile
java.lang.Object
com.helger.peppol.smp.SMPTransportProfile
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,com.helger.commons.lang.ICloneable<SMPTransportProfile>,com.helger.commons.name.IHasName,com.helger.commons.type.IHasObjectType,com.helger.commons.type.ITypedObject<String>,ISMPTransportProfile,Serializable
@NotThreadSafe
public class SMPTransportProfile
extends Object
implements ISMPTransportProfile, com.helger.commons.lang.ICloneable<SMPTransportProfile>
A stand-alone implementation of the
ISMPTransportProfile. For a set
of predefined transport profiles have a look at ESMPTransportProfile.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ESMPTransportProfileStatestatic final com.helger.commons.type.ObjectType -
Constructor Summary
ConstructorsConstructorDescriptionSMPTransportProfile(String sID, String sName) SMPTransportProfile(String sID, String sName, ESMPTransportProfileState eState) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetClone()getID()Get the ID to be stored in an SMP endpoint.getName()The display name of this transport profile has no semantics and is just for informational purposes.com.helger.commons.type.ObjectTypegetState()inthashCode()final com.helger.commons.state.EChangefinal com.helger.commons.state.EChangesetState(ESMPTransportProfileState eState) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.commons.type.IHasObjectType
getObjectTypeName, hasObjectTypeMethods inherited from interface com.helger.peppol.smp.ISMPTransportProfile
getStateID
-
Field Details
-
OT
public static final com.helger.commons.type.ObjectType OT -
DEFAULT_STATE
-
-
Constructor Details
-
SMPTransportProfile
-
SMPTransportProfile
-
SMPTransportProfile
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein interfacecom.helger.commons.type.IHasObjectType
-
getID
Description copied from interface:ISMPTransportProfileGet the ID to be stored in an SMP endpoint.- Specified by:
getIDin interfacecom.helger.commons.id.IHasID<String>- Specified by:
getIDin interfaceISMPTransportProfile
-
getName
Description copied from interface:ISMPTransportProfileThe display name of this transport profile has no semantics and is just for informational purposes. May neither benullnor empty.- Specified by:
getNamein interfacecom.helger.commons.name.IHasName- Specified by:
getNamein interfaceISMPTransportProfile
-
setName
-
getState
- Specified by:
getStatein interfaceISMPTransportProfile- Returns:
- The state of the transport profile. May not be
null.
-
setState
@Nonnull public final com.helger.commons.state.EChange setState(@Nonnull ESMPTransportProfileState eState) -
getClone
- Specified by:
getClonein interfacecom.helger.commons.lang.ICloneable<SMPTransportProfile>
-
equals
-
hashCode
public int hashCode() -
toString
-