|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType com.atlassian.jira.issue.customfields.impl.StringCFType
public abstract class StringCFType
Field Summary |
---|
Fields inherited from class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType |
---|
customFieldPersister, FIELD_TYPE_DATE, FIELD_TYPE_NUMBER, FIELD_TYPE_STRING, FIELD_TYPE_TEXT |
Constructor Summary | |
---|---|
StringCFType(CustomFieldPersister customFieldPersister)
|
Method Summary | |
---|---|
protected abstract PersistenceFieldType |
getDatabaseType()
|
protected java.lang.Object |
getDbValueFromObject(java.lang.Object customFieldObject)
Returns the database representation of the Java object as stored for that CustomField. |
protected java.lang.Object |
getObjectFromDbValue(java.lang.Object databaseValue)
Returns the Domain Object or GenericValue object representing the given Custom Field value as stored in the database |
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType |
---|
createValue, getChangelogValue, getDefaultValue, getValueFromCustomFieldParams, getValueFromIssue, remove, setDefaultValue, updateValue, validateFromParams |
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType |
---|
assertObjectImplementsType, getDescription, getDescriptor, getKey, getName, getVelocityParameters, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.issue.customfields.CustomFieldType |
---|
getSingularObjectFromString, getStringFromSingularObject |
Constructor Detail |
---|
public StringCFType(CustomFieldPersister customFieldPersister)
Method Detail |
---|
protected java.lang.Object getDbValueFromObject(java.lang.Object customFieldObject)
AbstractSingleFieldType
getDbValueFromObject
in class AbstractSingleFieldType
protected java.lang.Object getObjectFromDbValue(java.lang.Object databaseValue) throws CustomFieldValidationException
AbstractSingleFieldType
getObjectFromDbValue
in class AbstractSingleFieldType
databaseValue
- - String, Double or Date objects
CustomFieldValidationException
protected abstract PersistenceFieldType getDatabaseType()
getDatabaseType
in class AbstractSingleFieldType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |