public interface Translator extends RelationalObject
RelationalObject.Filter
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TYPE
The default value for a translator type.
|
static KomodoType |
IDENTIFIER
Identifier of this object
|
static Translator[] |
NO_TRANSLATORS
An empty array of translators.
|
static TypeResolver<Translator> |
RESOLVER
The resolver of a
Translator . |
static int |
TYPE_ID
The type identifier.
|
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
String |
getDescription(Repository.UnitOfWork transaction) |
String |
getType(Repository.UnitOfWork transaction) |
void |
setDescription(Repository.UnitOfWork transaction,
String newDescription) |
void |
setType(Repository.UnitOfWork transaction,
String newType) |
getFilters, setFilters
accept, addChild, addDescriptor, getChild, getChild, getChildren, getChildrenOfType, getChildTypes, getDescriptor, getDescriptors, getIndex, getObjectFactory, getPrimaryType, getProperty, getPropertyDescriptor, getPropertyDescriptors, getPropertyFactory, getPropertyNames, getRawChildren, getRawDescriptors, getRawParent, getRawProperty, getRawPropertyDescriptors, getRawPropertyNames, getTypeId, getTypeIdentifier, hasChild, hasChild, hasChildren, hasDescriptor, hasProperties, hasProperty, hasRawChild, hasRawChild, hasRawChildren, hasRawProperty, isChildRestricted, print, remove, removeChild, removeDescriptor, rename, setPrimaryType, setProperty
getAbsolutePath, getName, getParent, getRepository
static final int TYPE_ID
static final KomodoType IDENTIFIER
static final String DEFAULT_TYPE
static final Translator[] NO_TRANSLATORS
static final TypeResolver<Translator> RESOLVER
Translator
.String getDescription(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)description
property (can be empty)KException
- if an error occursString getType(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)type
property (never empty)KException
- if an error occursvoid setDescription(Repository.UnitOfWork transaction, String newDescription) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newDescription
- the new value of the description
propertyKException
- if an error occursvoid setType(Repository.UnitOfWork transaction, String newType) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)newType
- the new value of the type
property (cannot be empty)KException
- if an error occursCopyright © 2013–2019. All rights reserved.