Class AbstractOperationFileValueHolder
java.lang.Object
de.uplanet.lucy.server.dataobjects.impl.AbstractOperationFileValueHolder
- All Implemented Interfaces:
IObjectValueHolder,IOperationFileValueHolder,IValueHolder<List<de.uplanet.lucy.server.file.action.IOperationFile>>
- Direct Known Subclasses:
OperationFileAppendFirstValueHolder,OperationFileDeleteValueHolder,OperationFileMergeValueHolder,OperationFileRefreshValueHolder,OperationFileReplaceValueHolder
public abstract class AbstractOperationFileValueHolder
extends Object
implements IOperationFileValueHolder
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractOperationFileValueHolder(List<de.uplanet.lucy.server.file.action.IOperationFile> p_list) -
Method Summary
Modifier and TypeMethodDescriptionintGet the canonical lexical representation of this value according to it's datatype.intGet the raw data that this value holder holds.getType()The type of data this value holder holds.List<de.uplanet.lucy.server.file.action.IOperationFile> getValue()Get the data that this value holder holds.booleanhasValue()Check if this value holder currently holds data or not.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.uplanet.lucy.server.dataobjects.IOperationFileValueHolder
getOperation
-
Constructor Details
-
AbstractOperationFileValueHolder
public AbstractOperationFileValueHolder(List<de.uplanet.lucy.server.file.action.IOperationFile> p_list)
-
-
Method Details
-
getType
Description copied from interface:IValueHolderThe type of data this value holder holds.- Specified by:
getTypein interfaceIValueHolder<List<de.uplanet.lucy.server.file.action.IOperationFile>>
-
hasValue
public boolean hasValue()Description copied from interface:IValueHolderCheck if this value holder currently holds data or not.- Specified by:
hasValuein interfaceIValueHolder<List<de.uplanet.lucy.server.file.action.IOperationFile>>- Returns:
trueif the data holder holds data, orfalseotherwise.
-
getValue
Description copied from interface:IValueHolderGet the data that this value holder holds.Implementations MUST ensure that multiple calls to this method will return values that equal each other.
- Specified by:
getValuein interfaceIValueHolder<List<de.uplanet.lucy.server.file.action.IOperationFile>>- Returns:
- The data.
-
getRawValue
Description copied from interface:IValueHolderGet the raw data that this value holder holds.- Specified by:
getRawValuein interfaceIValueHolder<List<de.uplanet.lucy.server.file.action.IOperationFile>>- Returns:
- The raw data.
-
getCanonicalLexicalRepresentation
Description copied from interface:IValueHolderGet the canonical lexical representation of this value according to it's datatype.- Specified by:
getCanonicalLexicalRepresentationin interfaceIValueHolder<List<de.uplanet.lucy.server.file.action.IOperationFile>>- Returns:
- The canonical lexical representation, or
nullif such a representation does not exist (e.g. ifIValueHolder.hasValue()returnsfalse).
-
getAddFileCount
public int getAddFileCount()- Specified by:
getAddFileCountin interfaceIOperationFileValueHolder- Returns:
- Returns the count of files that should be added.
-
getDeleteFileCount
public int getDeleteFileCount()- Specified by:
getDeleteFileCountin interfaceIOperationFileValueHolder- Returns:
- Returns the count of files that should be deleted.
-