Example usage for org.apache.thrift EncodingUtils testBit

List of usage examples for org.apache.thrift EncodingUtils testBit

Introduction

In this page you can find the example usage for org.apache.thrift EncodingUtils testBit.

Prototype

public static final boolean testBit(long v, int position) 

Source Link

Usage

From source file:org.apache.airavata.model.application.io.InputDataObjectType.java

License:Apache License

/** Returns true if field isRequired is set (has been assigned a value) and false otherwise */
public boolean isSetIsRequired() {
    return EncodingUtils.testBit(__isset_bitfield, __ISREQUIRED_ISSET_ID);
}

From source file:org.apache.airavata.model.application.io.InputDataObjectType.java

License:Apache License

/** Returns true if field requiredToAddedToCommandLine is set (has been assigned a value) and false otherwise */
public boolean isSetRequiredToAddedToCommandLine() {
    return EncodingUtils.testBit(__isset_bitfield, __REQUIREDTOADDEDTOCOMMANDLINE_ISSET_ID);
}

From source file:org.apache.airavata.model.application.io.InputDataObjectType.java

License:Apache License

/** Returns true if field dataStaged is set (has been assigned a value) and false otherwise */
public boolean isSetDataStaged() {
    return EncodingUtils.testBit(__isset_bitfield, __DATASTAGED_ISSET_ID);
}

From source file:org.apache.airavata.model.application.io.OutputDataObjectType.java

License:Apache License

/** Returns true if field dataMovement is set (has been assigned a value) and false otherwise */
public boolean isSetDataMovement() {
    return EncodingUtils.testBit(__isset_bitfield, __DATAMOVEMENT_ISSET_ID);
}

From source file:org.apache.airavata.model.application.io.OutputDataObjectType.java

License:Apache License

/** Returns true if field outputStreaming is set (has been assigned a value) and false otherwise */
public boolean isSetOutputStreaming() {
    return EncodingUtils.testBit(__isset_bitfield, __OUTPUTSTREAMING_ISSET_ID);
}

From source file:org.apache.airavata.model.commons.ErrorModel.java

License:Apache License

/** Returns true if field creationTime is set (has been assigned a value) and false otherwise */
public boolean isSetCreationTime() {
    return EncodingUtils.testBit(__isset_bitfield, __CREATIONTIME_ISSET_ID);
}

From source file:org.apache.airavata.model.commons.ErrorModel.java

License:Apache License

/** Returns true if field transientOrPersistent is set (has been assigned a value) and false otherwise */
public boolean isSetTransientOrPersistent() {
    return EncodingUtils.testBit(__isset_bitfield, __TRANSIENTORPERSISTENT_ISSET_ID);
}

From source file:org.apache.airavata.model.commons.ValidationResults.java

License:Apache License

/** Returns true if field validationState is set (has been assigned a value) and false otherwise */
public boolean isSetValidationState() {
    return EncodingUtils.testBit(__isset_bitfield, __VALIDATIONSTATE_ISSET_ID);
}

From source file:org.apache.airavata.model.commons.ValidatorResult.java

License:Apache License

/** Returns true if field result is set (has been assigned a value) and false otherwise */
public boolean isSetResult() {
    return EncodingUtils.testBit(__isset_bitfield, __RESULT_ISSET_ID);
}

From source file:org.apache.airavata.model.ComponentStatus.java

License:Apache License

/** Returns true if field timeofStateChange is set (has been assigned a value) and false otherwise */
public boolean isSetTimeofStateChange() {
    return EncodingUtils.testBit(__isset_bitfield, __TIMEOFSTATECHANGE_ISSET_ID);
}