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
Constructors Constructor Description AbstractOperationFileValueHolder(List<de.uplanet.lucy.server.file.action.IOperationFile> p_list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAddFileCount()StringgetCanonicalLexicalRepresentation()Get the canonical lexical representation of this value according to it's datatype.intgetDeleteFileCount()ObjectgetRawValue()Get the raw data that this value holder holds.QNamegetType()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, wait
-
Methods inherited from interface de.uplanet.lucy.server.dataobjects.IOperationFileValueHolder
getOperation
-
-
-
-
Constructor Detail
-
AbstractOperationFileValueHolder
public AbstractOperationFileValueHolder(List<de.uplanet.lucy.server.file.action.IOperationFile> p_list)
-
-
Method Detail
-
getType
public QName 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
public List<de.uplanet.lucy.server.file.action.IOperationFile> 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
public Object 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
public String 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.
-
-