@Immutable @MustImplementEqualsAndHashcode public class PModePayloadProfile extends Object implements com.helger.commons.name.IHasName, com.helger.commons.state.IMandatoryIndicator, Serializable
text/xml,
application/pdf, etc.); name of the applicable XML Schema file
if the MIME data type is text/xml; maximum size in kilobytes; and a Boolean
value indicating whether the part is expected or optional, within the User
message. The message payload(s) must match this profile.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_MANDATORY |
| Constructor and Description |
|---|
PModePayloadProfile(String sName,
com.helger.commons.mime.IMimeType aMimeType,
String sXSDFilename,
Integer aMaxSizeKB,
com.helger.commons.state.EMandatory eMandatory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getMaxSizeKB() |
com.helger.commons.mime.IMimeType |
getMimeType() |
String |
getName() |
String |
getXSDFilename() |
int |
hashCode() |
boolean |
hasMaxSizeKB() |
boolean |
hasXSDFilename() |
boolean |
isMandatory() |
boolean |
isOptional() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final boolean DEFAULT_MANDATORY
@Nonnull @Nonempty public String getName()
getName in interface com.helger.commons.name.IHasName@Nonnull public com.helger.commons.mime.IMimeType getMimeType()
public boolean hasXSDFilename()
public boolean hasMaxSizeKB()
public boolean isMandatory()
isMandatory in interface com.helger.commons.state.IMandatoryIndicatorpublic boolean isOptional()
isOptional in interface com.helger.commons.state.IMandatoryIndicatorCopyright © 2015–2020 Philip Helger. All rights reserved.