public interface TemplateEntry extends RelationalObject
RelationalObject.Filter
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_PREFIX |
static KomodoType |
IDENTIFIER
Identifier of this object
|
static TemplateEntry[] |
NO_TEMPLATE_ENTRIES
An empty array of templates.
|
static TypeResolver<TemplateEntry> |
RESOLVER
The resolver of a
TemplateEntry . |
static int |
TYPE_ID
The type identifier.
|
DDL_QNAMES_FILTER, DEFAULT_FILTERS, JCR_FILTER, NO_FILTERS, NT_FILTER, RESIDUAL_FILTER
EMPTY_ARRAY
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 String CUSTOM_PREFIX
static final int TYPE_ID
static final KomodoType IDENTIFIER
static final TemplateEntry[] NO_TEMPLATE_ENTRIES
static final TypeResolver<TemplateEntry> RESOLVER
TemplateEntry
.String getId(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
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
)KException
void setDescription(Repository.UnitOfWork transaction, String description) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)description
- the descriptionKException
String getDisplayName(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
void setDisplayName(Repository.UnitOfWork transaction, String displayName) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)displayName
- the display nameKException
Collection<Object> getAllowedValues(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
void setAllowedValues(Repository.UnitOfWork transaction, Collection<Object> allowedValues) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)allowedValues
- the collection of allowed valuesKException
String getCategory(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
void setCategory(Repository.UnitOfWork transaction, String category) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)category
- the categoryKException
Object getDefaultValue(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
void setDefaultValue(Repository.UnitOfWork transaction, Object defaultValue) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)defaultValue
- the default valueKException
String getTypeClassName(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
void setTypeClassName(Repository.UnitOfWork transaction, String typeClassName) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)propertyTypeClassName
- the type class nameKException
boolean isConstrainedToAllowedValues(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
void setConstrainedToAllowedValues(Repository.UnitOfWork transaction, boolean constrainedToAllowedValues) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)constrainedToAllowedValues
- is the property constrained to allowed valuesKException
boolean isAdvanced(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
void setAdvanced(Repository.UnitOfWork transaction, boolean advanced) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)advanced
- is advanced propertyKException
boolean isMasked(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
void setMasked(Repository.UnitOfWork transaction, boolean masked) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)masked
- is value maskedKException
boolean isModifiable(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
void setModifiable(Repository.UnitOfWork transaction, boolean modifiable) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)modifiable
- is value modifiableKException
boolean isRequired(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
void setRequired(Repository.UnitOfWork transaction, boolean required) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)required
- is property requiredKException
Properties getCustomProperties(Repository.UnitOfWork transaction) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)KException
void addCustomProperty(Repository.UnitOfWork transaction, String key, String value) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)key
- the property namevalue
- the property valueKException
void setCustomProperties(Repository.UnitOfWork transaction, Properties properties) throws KException
transaction
- the transaction (cannot be null
or have a state that is not Repository.UnitOfWork.State.NOT_STARTED
)properties
- the property valuesKException
Copyright © 2013–2019. All rights reserved.