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.appcatalog.computeresource.ComputeResourceDescription.java

License:Apache License

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

From source file:org.apache.airavata.model.appcatalog.computeresource.ComputeResourceDescription.java

License:Apache License

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

From source file:org.apache.airavata.model.appcatalog.computeresource.ComputeResourceDescription.java

License:Apache License

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

From source file:org.apache.airavata.model.appcatalog.computeresource.DataMovementInterface.java

License:Apache License

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

From source file:org.apache.airavata.model.appcatalog.computeresource.SCPDataMovement.java

License:Apache License

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

From source file:org.apache.airavata.model.appcatalog.gatewayprofile.ComputeResourcePreference.java

License:Apache License

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

From source file:org.apache.airavata.model.appcatalog.gatewayprofile.ComputeResourcePreference.java

License:Apache License

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

From source file:org.apache.airavata.model.appcatalog.gatewayprofile.ComputeResourcePreference.java

License:Apache License

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

From source file:org.apache.airavata.model.appcatalog.userresourceprofile.UserResourceProfile.java

License:Apache License

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

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

License:Apache License

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