public interface ModifiableModelLessDataAwareAmetysObject extends ModifiableModelLessDataHolder, ModelLessDataAwareAmetysObject
AmetysObject that can handle modifiable data.| Modifier and Type | Method and Description | 
|---|---|
default ModifiableModelLessComposite | 
getComposite(String compositePath)
Retrieves the composite at the given path 
 | 
default ModifiableModelLessComposite | 
getComposite(String compositePath,
            boolean createNew)
Retrieves the composite at the given path 
 | 
ModifiableModelLessDataHolder | 
getDataHolder()
Returns the  
DataHolder of this AmetysObject. | 
default ModifiableModelLessRepeater | 
getRepeater(String repeaterPath)
Retrieves the repeater at the given path 
 | 
default ModifiableModelLessRepeater | 
getRepeater(String repeaterPath,
           boolean createNew)
Retrieves the repeater at the given path 
 | 
default void | 
removeValue(String dataPath)
Removes the value of the data stored in the repository at the given path 
 | 
default void | 
setValue(String dataPath,
        Object value)
Sets the value of the data at the given path 
 | 
default void | 
setValue(String dataPath,
        Object value,
        String dataType)
Sets the value of the data at the given path 
 | 
getType, getValue, getValue, getValueOfType, getValueOfType, hasValue, isMultiplecopyTo, getDataNamesequals, getId, getName, getParent, getParentPath, getPath, hashCodetoSAX, toSAXdataToSAX, dataToSAX, dataToSAX, dataToSAXModifiableModelLessDataHolder getDataHolder()
DataAwareAmetysObjectDataHolder of this AmetysObject.getDataHolder in interface DataAwareAmetysObjectgetDataHolder in interface ModelLessDataAwareAmetysObjectDataHolder of this AmetysObjectdefault ModifiableModelLessComposite getComposite(String compositePath) throws IllegalArgumentException, BadItemTypeException, BadDataPathCardinalityException
DataHoldergetComposite in interface DataHoldergetComposite in interface ModelLessDataAwareAmetysObjectgetComposite in interface ModelLessDataHoldergetComposite in interface ModifiableDataHoldergetComposite in interface ModifiableModelLessDataHoldercompositePath - path of the composite to retrievenull if not existsIllegalArgumentException - if the given composite path is null or emptyBadItemTypeException - if the value stored in the repository at the given path is not a compositeBadDataPathCardinalityException - if the value of a part of the data path is multiple. Only the last part can be multipledefault ModifiableModelLessRepeater getRepeater(String repeaterPath) throws IllegalArgumentException, BadItemTypeException, BadDataPathCardinalityException
DataHoldergetRepeater in interface DataHoldergetRepeater in interface ModelLessDataAwareAmetysObjectgetRepeater in interface ModelLessDataHoldergetRepeater in interface ModifiableDataHoldergetRepeater in interface ModifiableModelLessDataHolderrepeaterPath - path of the repeater to retrievenull if not existsIllegalArgumentException - if the given repeater path is null or emptyBadItemTypeException - if the value stored in the repository at the given path is not a repeaterBadDataPathCardinalityException - if the value of a part of the data path is multiple. Only the last part can be multipledefault ModifiableModelLessComposite getComposite(String compositePath, boolean createNew) throws IllegalArgumentException, BadItemTypeException, BadDataPathCardinalityException
ModifiableModelLessDataHoldergetComposite in interface ModifiableDataHoldergetComposite in interface ModifiableModelLessDataHoldercompositePath - path of the composite to retrievecreateNew - true to create the composite if it does not exist, false otherwiseIllegalArgumentException - if the given composite path is null or emptyBadItemTypeException - if the value stored in the repository at the given path is not a compositeBadDataPathCardinalityException - if the value of a part of the data path is multiple. Only the last part can be multipledefault ModifiableModelLessRepeater getRepeater(String repeaterPath, boolean createNew) throws IllegalArgumentException, BadItemTypeException, BadDataPathCardinalityException
ModifiableModelLessDataHoldergetRepeater in interface ModifiableDataHoldergetRepeater in interface ModifiableModelLessDataHolderrepeaterPath - path of the repeater to retrievecreateNew - true to create the repeater if it does not exist, false otherwiseIllegalArgumentException - if the given repeater path is null or emptyBadItemTypeException - if the value stored in the repository at the given path is not a repeaterBadDataPathCardinalityException - if the value of a part of the data path is multiple. Only the last part can be multipledefault void setValue(String dataPath, Object value) throws IllegalArgumentException, UnknownTypeException, NotUniqueTypeException, UnknownDataException, BadDataPathCardinalityException
ModifiableModelLessDataHoldersetValue in interface ModifiableModelLessDataHolderdataPath - path of the datavalue - the value to setIllegalArgumentException - if the given data path is null or emptyUnknownTypeException - if there is no available type compatible with the given value for this data holder's type extension pointNotUniqueTypeException - if there is more than one available types compatibles with the given value for this data holder's type extension pointUnknownDataException - if given the data path is composed of an inexisting groupBadDataPathCardinalityException - if the value of a part of the data path is multiple. Only the last part can be multipledefault void setValue(String dataPath, Object value, String dataType) throws IllegalArgumentException, BadItemTypeException, UnknownDataException, BadDataPathCardinalityException
ModifiableModelLessDataHoldersetValue in interface ModifiableModelLessDataHolderdataPath - path of the datavalue - the value to setdataType - type identifier of the dataIllegalArgumentException - if the given data path is null or emptyBadItemTypeException - if the given type doesn't match the given value to setUnknownDataException - if the given data path is composed of an inexisting groupBadDataPathCardinalityException - if the value of a part of the data path is multiple. Only the last part can be multipledefault void removeValue(String dataPath) throws IllegalArgumentException, UnknownTypeException, BadItemTypeException, BadDataPathCardinalityException
ModifiableModelLessDataHolderremoveValue in interface ModifiableDataHolderremoveValue in interface ModifiableModelLessDataHolderdataPath - path of the dataIllegalArgumentException - if the given data path is null or emptyBadDataPathCardinalityException - if the value of a part of the data path is multiple. Only the last part can be multipleUnknownTypeExceptionBadItemTypeException