Class AddGeneratedColumnConfig
- java.lang.Object
- 
- liquibase.serializer.AbstractLiquibaseSerializable
- 
- liquibase.change.ColumnConfig
- 
- liquibase.change.AddColumnConfig
- 
- org.keycloak.models.map.storage.jpa.liquibase.extension.AddGeneratedColumnConfig
 
 
 
 
- 
- All Implemented Interfaces:
- liquibase.serializer.LiquibaseSerializable
 
 public class AddGeneratedColumnConfig extends liquibase.change.AddColumnConfigAColumnConfigextension that contains attributes either to specify - a JSON column and the property to be selected from the JSON file - a hashOf property with column name to be used for the generating a column with hash value of it.- Author:
- Stefan Guilhen
 
- 
- 
Constructor SummaryConstructors Constructor Description AddGeneratedColumnConfig()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHashOf()Obtains the column name to be used for the generating a column with hash value of it.StringgetJsonColumn()Obtains the name of the column that contains JSON files.StringgetJsonProperty()Obtains the name of the property inside the JSON file.voidload(liquibase.parser.core.ParsedNode parsedNode, liquibase.resource.ResourceAccessor resourceAccessor)voidsetHashOf(String hashOf)Sets the column name to be used for the generating a column with hash value of it.voidsetJsonColumn(String jsonColumn)Sets the name of the column that contains JSON files.voidsetJsonProperty(String jsonProperty)Sets the name of the property inside the JSON file.- 
Methods inherited from class liquibase.change.AddColumnConfiggetAfterColumn, getBeforeColumn, getPosition, setAfterColumn, setBeforeColumn, setPosition
 - 
Methods inherited from class liquibase.change.ColumnConfigarrayFromNames, fromName, getComputed, getConstraints, getDefaultOnNull, getDefaultValue, getDefaultValueBoolean, getDefaultValueComputed, getDefaultValueConstraintName, getDefaultValueDate, getDefaultValueNumeric, getDefaultValueObject, getDefaultValueSequenceNext, getDescending, getEncoding, getGenerationType, getIncrementBy, getName, getRemarks, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getStartWith, getType, getValue, getValueBlobFile, getValueBoolean, getValueClobFile, getValueComputed, getValueDate, getValueNumeric, getValueObject, getValueSequenceCurrent, getValueSequenceNext, hasDefaultValue, isAutoIncrement, loadConstraints, setAutoIncrement, setComputed, setConstraints, setDefaultOnNull, setDefaultValue, setDefaultValueBoolean, setDefaultValueBoolean, setDefaultValueComputed, setDefaultValueConstraintName, setDefaultValueDate, setDefaultValueDate, setDefaultValueNumeric, setDefaultValueNumeric, setDefaultValueSequenceNext, setDescending, setEncoding, setGenerationType, setIncrementBy, setName, setName, setRemarks, setStartWith, setType, setValue, setValueBlobFile, setValueBoolean, setValueBoolean, setValueClobFile, setValueComputed, setValueDate, setValueDate, setValueNumeric, setValueNumeric, setValueSequenceCurrent, setValueSequenceNext
 
- 
 
- 
- 
- 
Method Detail- 
getJsonColumnpublic String getJsonColumn() Obtains the name of the column that contains JSON files.- Returns:
- the JSON column name.
 
 - 
setJsonColumnpublic void setJsonColumn(String jsonColumn) Sets the name of the column that contains JSON files.- Parameters:
- jsonColumn- the name of the JSON column.
 
 - 
getJsonPropertypublic String getJsonProperty() Obtains the name of the property inside the JSON file.- Returns:
- the name of the JSON property.
 
 - 
setJsonPropertypublic void setJsonProperty(String jsonProperty) Sets the name of the property inside the JSON file.- Parameters:
- jsonProperty- the name of the JSON property.
 
 - 
getHashOfpublic String getHashOf() Obtains the column name to be used for the generating a column with hash value of it.- Returns:
- the name of the column
 
 - 
setHashOfpublic void setHashOf(String hashOf) Sets the column name to be used for the generating a column with hash value of it.- Parameters:
- hashOf- the column name for hash
 
 - 
loadpublic void load(liquibase.parser.core.ParsedNode parsedNode, liquibase.resource.ResourceAccessor resourceAccessor) throws liquibase.parser.core.ParsedNodeException- Specified by:
- loadin interface- liquibase.serializer.LiquibaseSerializable
- Overrides:
- loadin class- liquibase.change.AddColumnConfig
- Throws:
- liquibase.parser.core.ParsedNodeException
 
 
- 
 
-