Field Summary |
|
final public static int | DATA_FILE The type denoting that a logical file is a data file. |
final public static String | DATA_TYPE The string value of a file that is of type data. |
final public static int | EXECUTABLE_FILE The type denoting that a logical file is a executable file. |
final public static String | EXECUTABLE_TYPE The string value of a file that is of type executable. |
final public static int | NO_OF_TRANSIENT_FLAGS The number of transient flags. |
final public static int | TRANSFER_MANDATORY The mode where the transfer for this file to the pool
is constructed and the transfer job fails if the transfer fails. |
final public static int | TRANSFER_NOT The mode where the transfer for this file is not constructed. |
final public static int | TRANSFER_OPTIONAL The mode where the transfer for this file to the pool is constructed,
but the transfer job should not fail if the transfer fails. |
final public static int | TRANSIENT_OPTIONAL_FLAG The index of the flags field which when set indicates that the file
is to be considered optional. |
final public static int | TRANSIENT_REGISTRATION_FLAG The index of the flags field which when set indicates that the file is
not to be registered in the RLS/ RC. |
protected BitSet | mFlags The transient flags field which is kept as a bit field. |
protected String | mLogicalFile The logical name of the file. |
protected int | mTransferFlag The transfer flag associated with the file containing tristate of
transfer,dontTransfer and optional. |
protected int | mType The type associated with the file. |
Method Summary |
|
public Object | clone() Returns a copy of the existing data object. |
public boolean | equals(Object o) Checks if an object is similar to the one referred to by this class. |
public boolean | fileOptional() Returns optionalflag denoting the file to be optional or not. |
public BitSet | getFlags() Returns the bit fields that contain the transient flags (dR and optional). |
public String | getLFN() It returns the lfn of the file that is associated with this transfer. |
public int | getTransferFlag() Returns the tristate transfer mode that is associated with the file. |
public boolean | getTransientRegFlag() Returns the transient registration flag (the value of dontRegister). |
public boolean | getTransientTransferFlag() Returns whether the transfer is transient or not. |
public int | getType() Returns the tristate transfer mode that is associated with the file. |
public int | hashCode() Calculate a hash code value for the object to support hash tables. |
public void | setFileOptional() Sets the optionalflag denoting the file to be optional to true. |
public void | setLFN(String lfn) It sets the logical filename of the file that is being transferred. |
public void | setTransferFlag(int transfer) Sets the transient transfer flag to value passed. |
public void | setTransferFlag(String flag, boolean doubleNegative) Sets the transient transfer flag corresponding to the string
value of transfer mode passed. |
public void | setTransientRegFlag() Sets the transient registration flag to true. |
public void | setType(int type) Sets the type flag to value passed. |
public void | setType(String type) Sets the transient transfer flag to value passed. |
public String | toString() Returns the String version of the data object, which is in human readable
form. |
public boolean | transferInRange(int transfer) Returns whether the transfer value for the mode is in range or not.
Parameters: transfer - the value for the transfer. |
public String | typeToString() Returns the type associated with the logical file. |
public boolean | typeValid(int type) Returns whether the type of file value is valid or not.
Parameters: type - the value for the type of file. |