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
ConstructorDescriptionAbstractOperationFileValueHolder
(List<de.uplanet.lucy.server.file.action.IOperationFile> p_list) -
Method Summary
Modifier and TypeMethodDescriptionint
Get the canonical lexical representation of this value according to it's datatype.int
Get 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.boolean
hasValue()
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, wait
Methods 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:IValueHolder
The type of data this value holder holds.- Specified by:
getType
in interfaceIValueHolder<List<de.uplanet.lucy.server.file.action.IOperationFile>>
-
hasValue
public boolean hasValue()Description copied from interface:IValueHolder
Check if this value holder currently holds data or not.- Specified by:
hasValue
in interfaceIValueHolder<List<de.uplanet.lucy.server.file.action.IOperationFile>>
- Returns:
true
if the data holder holds data, orfalse
otherwise.
-
getValue
Description copied from interface:IValueHolder
Get 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:
getValue
in interfaceIValueHolder<List<de.uplanet.lucy.server.file.action.IOperationFile>>
- Returns:
- The data.
-
getRawValue
Description copied from interface:IValueHolder
Get the raw data that this value holder holds.- Specified by:
getRawValue
in interfaceIValueHolder<List<de.uplanet.lucy.server.file.action.IOperationFile>>
- Returns:
- The raw data.
-
getCanonicalLexicalRepresentation
Description copied from interface:IValueHolder
Get the canonical lexical representation of this value according to it's datatype.- Specified by:
getCanonicalLexicalRepresentation
in interfaceIValueHolder<List<de.uplanet.lucy.server.file.action.IOperationFile>>
- Returns:
- The canonical lexical representation, or
null
if such a representation does not exist (e.g. ifIValueHolder.hasValue()
returnsfalse
).
-
getAddFileCount
public int getAddFileCount()- Specified by:
getAddFileCount
in interfaceIOperationFileValueHolder
- Returns:
- Returns the count of files that should be added.
-
getDeleteFileCount
public int getDeleteFileCount()- Specified by:
getDeleteFileCount
in interfaceIOperationFileValueHolder
- Returns:
- Returns the count of files that should be deleted.
-