Search in sources :

Example 1 with PModePayloadProfile

use of com.helger.phase4.model.pmode.leg.PModePayloadProfile in project phase4 by phax.

the class PModeMicroTypeConverterTest method _createPModePayloadProfile.

@Nonnull
@ReturnsMutableCopy
private ICommonsOrderedMap<String, PModePayloadProfile> _createPModePayloadProfile() {
    final PModePayloadProfile aPModePayloadProfile = new PModePayloadProfile("name", new MimeType(EMimeContentType.EXAMPLE, "example"), "xsdfilename", Integer.valueOf(20001), EMandatory.MANDATORY);
    final ICommonsOrderedMap<String, PModePayloadProfile> aPModePayloadProfiles = new CommonsLinkedHashMap<>();
    aPModePayloadProfiles.put(aPModePayloadProfile.getName(), aPModePayloadProfile);
    return aPModePayloadProfiles;
}
Also used : PModePayloadProfile(com.helger.phase4.model.pmode.leg.PModePayloadProfile) CommonsLinkedHashMap(com.helger.commons.collection.impl.CommonsLinkedHashMap) MimeType(com.helger.commons.mime.MimeType) ReturnsMutableCopy(com.helger.commons.annotation.ReturnsMutableCopy) Nonnull(javax.annotation.Nonnull)

Aggregations

ReturnsMutableCopy (com.helger.commons.annotation.ReturnsMutableCopy)1 CommonsLinkedHashMap (com.helger.commons.collection.impl.CommonsLinkedHashMap)1 MimeType (com.helger.commons.mime.MimeType)1 PModePayloadProfile (com.helger.phase4.model.pmode.leg.PModePayloadProfile)1 Nonnull (javax.annotation.Nonnull)1