public final class ContainerTransaction extends Descriptor
Modifier and Type | Field and Description |
---|---|
static String |
MANDATORY
Transaction is mandatory.
|
static String |
NEVER
Never supply a transaction.
|
static String |
NOT_SUPPORTED
Transactions are not supported.
|
static String |
REQUIRED
A transaction is required.
|
static String |
REQUIRES_NEW
A new transaction must be created.
|
static String |
SUPPORTS
Transactions need support.
|
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
Constructor and Description |
---|
ContainerTransaction(ContainerTransaction other)
Copy constructor.
|
ContainerTransaction(String transactionAttribute,
String description)
Create a new transaction descriptor with the given attribute.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Equality iff the other object is another container transaction with the
same transaction attribute.
|
String |
getTransactionAttribute()
The transaction attribute that I specify.
|
int |
hashCode() |
void |
print(StringBuilder toStringBuilder)
Returns a formatted String representing my state.
|
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public static final String NOT_SUPPORTED
public static final String SUPPORTS
public static final String REQUIRED
public static final String REQUIRES_NEW
public static final String MANDATORY
public static final String NEVER
public ContainerTransaction(ContainerTransaction other)
public ContainerTransaction(String transactionAttribute, String description)
transactionAttribute
- .description
- .public String getTransactionAttribute()
public boolean equals(Object other)
public void print(StringBuilder toStringBuilder)
print
in class Descriptor
Copyright © 2020. All rights reserved.