public interface KPropertyFactory extends StringConstants, RepositoryConstants
Modifier and Type | Field and Description |
---|---|
static String |
DELIMITER |
AMPERSAND, AT, BR, CLASS, CLOSE_ANGLE_BRACKET, CLOSE_BRACE, CLOSE_BRACKET, CLOSE_PRE_CMT, CLOSE_PRE_TAG, CLOSE_SQUARE_BRACKET, COLON, COMMA, CONNECTION_SUFFIX, CURRENT_FOLDER_SYMBOL, DDL, DEFAULT_LOCAL_WORKSPACE_NAME, DIVIDE, DOLLAR_SIGN, DOT, DOT_CHAR, DOT_DOT, DOT_KOMODO, DOUBLE_BACK_SLASH, DRIVE_SEPARATOR, EMPTY_ARRAY, EMPTY_STRING, ENUM, EQUALS, FILE_EXTENSION_SEPARATOR, FILE_NAME_WILDCARD, FINAL, FORWARD_SLASH, HASH, HYPHEN, INTERFACE, JAR, JAVA, JAVA_IO_TMPDIR, JBOSS_SERVER_TMP_DIR, KOMODO, LINE_SEPARATOR, LINE_SEPARATOR_PROPERTY_NAME, LOG, MINUS, MULTIPLY, NBSP, NEW_LINE, OPEN_ANGLE_BRACKET, OPEN_BRACE, OPEN_BRACKET, OPEN_PRE_CMT, OPEN_PRE_TAG, OPEN_SQUARE_BRACKET, PARENT_FOLDER_SYMBOL, PERCENT, PIPE, PLUS, PREFIX_PATTERN, PRIVATE, PUBLIC, QUESTION_MARK, QUOTE_MARK, SEMI_COLON, SERVICE_VDB_SUFFIX, SERVICE_VDB_VIEW_MODEL, SERVICE_VDB_VIEW_SUFFIX, SOURCES, SPACE, SPEECH_MARK, SRC, STAR, STATIC, TAB, TARGET, UNDERSCORE, UNDERSCORE_CHAR, VDB_DEPLOYMENT_SUFFIX, VDB_PREFIX, XML, XML_SUFFIX, ZIP, ZIP_SUFFIX
ABSOLUTE_PATH, NAME
static final String DELIMITER
Object convert(Object value, PropertyValueType type) throws KException
value
- the value (cannot be null
)type
- the required type of the propertynull
)KException
- if an error occursString getName(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- KException
KomodoObject getParent(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- KException
PropertyDescriptor getPropertyDescriptor(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- KException
PropertyValueType getType(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- KException
boolean isMultiple(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- KException
Object getValue(Repository.UnitOfWork transaction, Property property) throws Exception
transaction
- property
- Exception
Object[] getValues(Repository.UnitOfWork transaction, Property property) throws Exception
transaction
- property
- Exception
InputStream getBinary(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- KException
InputStream[] getBinaryValues(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- KException
Boolean getBoolean(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- KException
Boolean[] getBooleanValues(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- KException
String getString(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- String
value of the propertyKException
String[] getStringValues(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- String
[] values of the propertyKException
Long getLong(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- Long
value of the propertyKException
Long[] getLongValues(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- Long
values of the propertyKException
Integer getInteger(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- Integer
value of the propertyKException
Integer[] getIntegerValues(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- Integer
values of the propertyKException
Double getDouble(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- Double
value of the propertyKException
Double[] getDoubleValues(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- Double
values of the propertyKException
Calendar getDate(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- Date
value of the propertyKException
Calendar[] getDateValues(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- Date
values of the propertyKException
String getReference(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- KException
String[] getReferenceValues(Repository.UnitOfWork transaction, Property property) throws KException
transaction
- property
- KException
void setValue(Repository.UnitOfWork transaction, Property property, Object... values) throws KException
transaction
- property
- values
- KException
Copyright © 2013–2019. All rights reserved.