id
stringlengths
36
36
text
stringlengths
1
1.25M
a17b69c0-e2ef-4033-a60a-a63a42f07c3b
public static Proposition assertMemberOfProposition(Stella_Object self, Stella_Object collection) { if (collection == null) { return (null); } if (Surrogate.subtypeOfP(Stella_Object.safePrimaryType(collection), Logic.SGT_LOGIC_NAMED_DESCRIPTION)) { { NamedDescription collection000 = ((NamedDescription)(collection)); if (collection000.surrogateValueInverse == Logic.SGT_STELLA_THING) { return (null); } return (Logic.assertIsaProposition(self, collection000.surrogateValueInverse)); } } else { return (Logic.assertTuple(Logic.SGT_PL_KERNEL_KB_MEMBER_OF, Cons.consList(Cons.cons(self, Cons.cons(collection, Stella.NIL))))); } }
64ce1109-43b8-4dc5-9b33-0621ba812ca6
public void setOpportunityExternalSystemId(java.lang.String opportunityExternalSystemId) { this.opportunityExternalSystemId = opportunityExternalSystemId; }
392c18a3-d6ee-42a3-9d92-37353089ba9d
public java.lang.String getCustomPickList80() { return this.customPickList80; }
087bf796-8cd4-4c1e-bd3d-f39844a87c3b
public java.lang.Integer getCustomInteger9() { return this.customInteger9; }
e303ea39-71f2-40dd-8da3-994c005c539c
public Stack<int[][]> getOld_moves() { return old_moves; }
71b06812-ac34-44fc-883b-9d6b45f82811
public crmondemand.xml.contact.query.QueryType getProductIntegrationId() { return this.productIntegrationId; }
8471e737-07c1-4759-8659-85c10f14b983
public java.lang.String getCustomObject6ExternalSystemId() { return this.customObject6ExternalSystemId; }
c757af7b-b536-49a5-bf79-09ef0ddd54d8
public crmondemand.xml.opportunity.query.QueryType getCustomText37() { return this.customText37; }
44aad895-6ea1-4d60-82f2-b45dbe9ece07
public java.lang.String getCourseStatus() { return this.courseStatus; }
1fa425cc-7a5e-4f0c-8821-6497b82c983d
public String getType() { return m_type; }
cf609dcd-36b9-4ebd-890b-2adbb28c0862
public java.lang.String getAccreditationName() { return this.accreditationName; }
11611985-0397-4202-8af8-1c9a9d09b53e
public void setCustomText14(crmondemand.xml.contact.query.QueryType customText14) { this.customText14 = customText14; }
f3500204-7e7b-4153-ab05-27924ca56e18
public java.util.Calendar getCustomDate58() { return this.customDate58; }
40731f64-1899-4ea8-b0bd-68fb7d19a43a
public java.lang.String getCustomText33() { return this.customText33; }
fa3a6ec1-f251-4a61-8b5f-61db1bc13e2b
public java.lang.Boolean getCustomBoolean4() { return this.customBoolean4; }
6f41d2d7-5009-4f71-9727-31044d774910
public crmondemand.xml.contact.query.QueryType getCustomCurrency9() { return this.customCurrency9; }
3f82cf05-266e-4440-b89d-4300e751d470
public int[] kmeans(int cluster, double[] data, double dataMin, double dataMax, int max_itr) {//kϖ@Bef[^_ŏɑNX^̃CfbNXlƂϔzԂB stopWatch("Clustering by K-means method.."); int size = data.length; int[] initCluster = new int[size]; //NX^S double[] centers = new double[cluster]; for (int k=0; k<cluster; k++) { centers[k] = dataMin + k*(dataMax - dataMin)/cluster; //WɓԊuɔzu //centers[k] = dataMin + (dataMax - dataMin)*Math.random(); //WŃ_ɔzu } //Ce[^ for (int itr=0; itr<max_itr; itr++) { int cutoff = size/100; int[] dataNum2 = new int[cluster]; /* ŏɃ_ꂽہAʒuāiWc牓ājolȉUȂNX^̂܂܂ɂȂĂƁAɃoONĩNX^U0ɂȂĂ܂̂ŁjB * 邽߂ɂolȉ̃NX^‚炻̃NX^S𜓈ӓIɒB */ //łS̋߂NX^Ƀf[^z for(int i=0; i<size; i++) { double minval = Double.MAX_VALUE; int index = 0; for(int k=0; k<cluster; k++){ double dist = Math.abs(data[i] - centers[k]); if(dist < minval) { minval = dist; index = k; } initCluster[i] = index; } dataNum2[index]++; } //SČvZ int[] dataNum = new int[cluster]; for(int k=0; k<cluster; k++){ centers[k] = 0.0; } for(int i=0; i<size; i++) { int index = initCluster[i]; centers[index] += data[i]; dataNum[index]++; } for(int k=0; k<cluster; k++) { if(dataNum[k]<=cutoff) continue; //ڂ͌ŋ~ςBڂ臒lcutoff𓱓 centers[k] /= dataNum[k]; } for(int k=0; k<cluster; k++) {//ڂ~ double delta = 0.001 * (dataMax - dataMin); if(dataNum[k]<=cutoff) { int l = k; while (l==k || dataNum[l] <= cutoff) l = (int)(Math.random()*cluster); centers[k] = centers[l] + 0.5*delta; centers[l] = centers[l] - 0.5*delta; //ɃoĂNX^_ɎĂāÃNX^̒S𒆐SɕdeltaꂽʒuɒS点Ă炤Ƃŋ~ς } } } return initCluster; }
6b8c55d2-27f1-41f2-8b17-047c4ca1ffc5
public void setCustomPickList55(java.lang.String customPickList55) { this.customPickList55 = customPickList55; }
208e0f96-8d1a-4f6e-a0c4-89457ebe5e22
public java.math.BigDecimal getCustomCurrency24() { return this.customCurrency24; }
3fb659e4-2dd0-41ec-9523-2545a1899f85
@Override public boolean equals(Object object) { if (object == this) { return true; } else if (!(object instanceof java.lang.reflect.ParameterizedType)) { return false; } java.lang.reflect.ParameterizedType other = (java.lang.reflect.ParameterizedType) object; if (!this.getRawType().equals(other.getRawType())) { return false; } java.lang.reflect.Type[] thisArguments = this.getActualTypeArguments(); java.lang.reflect.Type[] otherArguments = other.getActualTypeArguments(); if (thisArguments.length != otherArguments.length) { return false; } for (int i = 0; i < thisArguments.length; i++) { if (!thisArguments[i].equals(otherArguments[i])) { return false; } } return true; }
e1fb3f49-0a94-4174-bdfb-7864da686b07
public void setFinancialAccountId(java.lang.String financialAccountId) { this.financialAccountId = financialAccountId; }
3d6ebd6c-761a-42c7-a152-884dbe64159e
public String getFieldName() { return _fieldName; } } public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOptions_args.class, metaDataMap); } public getOptions_args() { } /** * Performs a deep copy on <i>other</i>. */ public getOptions_args(getOptions_args other) { } public getOptions_args deepCopy() { return new getOptions_args(this); } @Override public void clear() { } public void setFieldValue(_Fields field, Object value) { switch (field) { } } public Object getFieldValue(_Fields field) { switch (field) { } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof getOptions_args) return this.equals((getOptions_args)that); return false; } public boolean equals(getOptions_args that) { if (that == null) return false; return true; } @Override public int hashCode() { return 0; } public int compareTo(getOptions_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; getOptions_args typedOther = (getOptions_args)other; return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("getOptions_args("); boolean first = true; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class getOptions_argsStandardSchemeFactory implements SchemeFactory { public getOptions_argsStandardScheme getScheme() { return new getOptions_argsStandardScheme(); } } private static class getOptions_argsStandardScheme extends StandardScheme<getOptions_args> { public void read(org.apache.thrift.protocol.TProtocol iprot, getOptions_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, getOptions_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class getOptions_argsTupleSchemeFactory implements SchemeFactory { public getOptions_argsTupleScheme getScheme() { return new getOptions_argsTupleScheme(); } } private static class getOptions_argsTupleScheme extends TupleScheme<getOptions_args> { @Override public void write(org.apache.thrift.protocol.TProtocol prot, getOptions_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override public void read(org.apache.thrift.protocol.TProtocol prot, getOptions_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } public static class getOptions_result implements org.apache.thrift.TBase<getOptions_result, getOptions_result._Fields>, java.io.Serializable, Cloneable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOptions_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new getOptions_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, new getOptions_resultTupleSchemeFactory()); } public Map<String,String> success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOptions_result.class, metaDataMap); } public getOptions_result() { } public getOptions_result( Map<String,String> success) { this(); this.success = success; } /** * Performs a deep copy on <i>other</i>. */ public getOptions_result(getOptions_result other) { if (other.isSetSuccess()) { Map<String,String> __this__success = new HashMap<String,String>(); for (Map.Entry<String, String> other_element : other.success.entrySet()) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); String __this__success_copy_key = other_element_key; String __this__success_copy_value = other_element_value; __this__success.put(__this__success_copy_key, __this__success_copy_value); } this.success = __this__success; } } public getOptions_result deepCopy() { return new getOptions_result(this); } @Override public void clear() { this.success = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } public void putToSuccess(String key, String val) { if (this.success == null) { this.success = new HashMap<String,String>(); } this.success.put(key, val); } public Map<String,String> getSuccess() { return this.success; } public getOptions_result setSuccess(Map<String,String> success) { this.success = success; return this; } public void unsetSuccess() { this.success = null; } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { return this.success != null; } public void setSuccessIsSet(boolean value) { if (!value) { this.success = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((Map<String,String>)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return getSuccess(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof getOptions_result) return this.equals((getOptions_result)that); return false; } public boolean equals(getOptions_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(getOptions_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; getOptions_result typedOther = (getOptions_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("getOptions_result("); boolean first = true; sb.append("success:"); if (this.success == null) { sb.append("null"); } else { sb.append(this.success); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class getOptions_resultStandardSchemeFactory implements SchemeFactory { public getOptions_resultStandardScheme getScheme() { return new getOptions_resultStandardScheme(); } } private static class getOptions_resultStandardScheme extends StandardScheme<getOptions_result> { public void read(org.apache.thrift.protocol.TProtocol iprot, getOptions_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { org.apache.thrift.protocol.TMap _map10 = iprot.readMapBegin(); struct.success = new HashMap<String,String>(2*_map10.size); for (int _i11 = 0; _i11 < _map10.size; ++_i11) { String _key12; // optional String _val13; // required _key12 = iprot.readString(); _val13 = iprot.readString(); struct.success.put(_key12, _val13); } iprot.readMapEnd(); } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, getOptions_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); for (Map.Entry<String, String> _iter14 : struct.success.entrySet()) { oprot.writeString(_iter14.getKey()); oprot.writeString(_iter14.getValue()); } oprot.writeMapEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class getOptions_resultTupleSchemeFactory implements SchemeFactory { public getOptions_resultTupleScheme getScheme() { return new getOptions_resultTupleScheme(); } } private static class getOptions_resultTupleScheme extends TupleScheme<getOptions_result> { @Override public void write(org.apache.thrift.protocol.TProtocol prot, getOptions_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); for (Map.Entry<String, String> _iter15 : struct.success.entrySet()) { oprot.writeString(_iter15.getKey()); oprot.writeString(_iter15.getValue()); } } } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, getOptions_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { org.apache.thrift.protocol.TMap _map16 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.success = new HashMap<String,String>(2*_map16.size); for (int _i17 = 0; _i17 < _map16.size; ++_i17) { String _key18; // optional String _val19; // required _key18 = iprot.readString(); _val19 = iprot.readString(); struct.success.put(_key18, _val19); } } struct.setSuccessIsSet(true); } } } } public static class getCpuProfile_args implements org.apache.thrift.TBase<getCpuProfile_args, getCpuProfile_args._Fields>, java.io.Serializable, Cloneable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCpuProfile_args"); private static final org.apache.thrift.protocol.TField PROFILE_DURATION_IN_SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("profileDurationInSec", org.apache.thrift.protocol.TType.I32, (short)1); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new getCpuProfile_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, new getCpuProfile_argsTupleSchemeFactory()); } public int profileDurationInSec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { PROFILE_DURATION_IN_SEC((short)1, "profileDurationInSec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // PROFILE_DURATION_IN_SEC return PROFILE_DURATION_IN_SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __PROFILEDURATIONINSEC_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.PROFILE_DURATION_IN_SEC, new org.apache.thrift.meta_data.FieldMetaData("profileDurationInSec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCpuProfile_args.class, metaDataMap); } public getCpuProfile_args() { } public getCpuProfile_args( int profileDurationInSec) { this(); this.profileDurationInSec = profileDurationInSec; setProfileDurationInSecIsSet(true); } /** * Performs a deep copy on <i>other</i>. */ public getCpuProfile_args(getCpuProfile_args other) { __isset_bitfield = other.__isset_bitfield; this.profileDurationInSec = other.profileDurationInSec; } public getCpuProfile_args deepCopy() { return new getCpuProfile_args(this); } @Override public void clear() { setProfileDurationInSecIsSet(false); this.profileDurationInSec = 0; } public int getProfileDurationInSec() { return this.profileDurationInSec; } public getCpuProfile_args setProfileDurationInSec(int profileDurationInSec) { this.profileDurationInSec = profileDurationInSec; setProfileDurationInSecIsSet(true); return this; } public void unsetProfileDurationInSec() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __PROFILEDURATIONINSEC_ISSET_ID); } /** Returns true if field profileDurationInSec is set (has been assigned a value) and false otherwise */ public boolean isSetProfileDurationInSec() { return EncodingUtils.testBit(__isset_bitfield, __PROFILEDURATIONINSEC_ISSET_ID); } public void setProfileDurationInSecIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __PROFILEDURATIONINSEC_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case PROFILE_DURATION_IN_SEC: if (value == null) { unsetProfileDurationInSec(); } else { setProfileDurationInSec((Integer)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case PROFILE_DURATION_IN_SEC: return Integer.valueOf(getProfileDurationInSec()); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case PROFILE_DURATION_IN_SEC: return isSetProfileDurationInSec(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof getCpuProfile_args) return this.equals((getCpuProfile_args)that); return false; } public boolean equals(getCpuProfile_args that) { if (that == null) return false; boolean this_present_profileDurationInSec = true; boolean that_present_profileDurationInSec = true; if (this_present_profileDurationInSec || that_present_profileDurationInSec) { if (!(this_present_profileDurationInSec && that_present_profileDurationInSec)) return false; if (this.profileDurationInSec != that.profileDurationInSec) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(getCpuProfile_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; getCpuProfile_args typedOther = (getCpuProfile_args)other; lastComparison = Boolean.valueOf(isSetProfileDurationInSec()).compareTo(typedOther.isSetProfileDurationInSec()); if (lastComparison != 0) { return lastComparison; } if (isSetProfileDurationInSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.profileDurationInSec, typedOther.profileDurationInSec); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("getCpuProfile_args("); boolean first = true; sb.append("profileDurationInSec:"); sb.append(this.profileDurationInSec); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class getCpuProfile_argsStandardSchemeFactory implements SchemeFactory { public getCpuProfile_argsStandardScheme getScheme() { return new getCpuProfile_argsStandardScheme(); } } private static class getCpuProfile_argsStandardScheme extends StandardScheme<getCpuProfile_args> { public void read(org.apache.thrift.protocol.TProtocol iprot, getCpuProfile_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // PROFILE_DURATION_IN_SEC if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.profileDurationInSec = iprot.readI32(); struct.setProfileDurationInSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, getCpuProfile_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldBegin(PROFILE_DURATION_IN_SEC_FIELD_DESC); oprot.writeI32(struct.profileDurationInSec); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class getCpuProfile_argsTupleSchemeFactory implements SchemeFactory { public getCpuProfile_argsTupleScheme getScheme() { return new getCpuProfile_argsTupleScheme(); } } private static class getCpuProfile_argsTupleScheme extends TupleScheme<getCpuProfile_args> { @Override public void write(org.apache.thrift.protocol.TProtocol prot, getCpuProfile_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetProfileDurationInSec()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetProfileDurationInSec()) { oprot.writeI32(struct.profileDurationInSec); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, getCpuProfile_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.profileDurationInSec = iprot.readI32(); struct.setProfileDurationInSecIsSet(true); } } } } public static class getCpuProfile_result implements org.apache.thrift.TBase<getCpuProfile_result, getCpuProfile_result._Fields>, java.io.Serializable, Cloneable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCpuProfile_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new getCpuProfile_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, new getCpuProfile_resultTupleSchemeFactory()); } public String success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCpuProfile_result.class, metaDataMap); } public getCpuProfile_result() { } public getCpuProfile_result( String success) { this(); this.success = success; } /** * Performs a deep copy on <i>other</i>. */ public getCpuProfile_result(getCpuProfile_result other) { if (other.isSetSuccess()) { this.success = other.success; } } public getCpuProfile_result deepCopy() { return new getCpuProfile_result(this); } @Override public void clear() { this.success = null; } public String getSuccess() { return this.success; } public getCpuProfile_result setSuccess(String success) { this.success = success; return this; } public void unsetSuccess() { this.success = null; } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { return this.success != null; } public void setSuccessIsSet(boolean value) { if (!value) { this.success = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((String)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return getSuccess(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof getCpuProfile_result) return this.equals((getCpuProfile_result)that); return false; } public boolean equals(getCpuProfile_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(getCpuProfile_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; getCpuProfile_result typedOther = (getCpuProfile_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("getCpuProfile_result("); boolean first = true; sb.append("success:"); if (this.success == null) { sb.append("null"); } else { sb.append(this.success); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class getCpuProfile_resultStandardSchemeFactory implements SchemeFactory { public getCpuProfile_resultStandardScheme getScheme() { return new getCpuProfile_resultStandardScheme(); } } private static class getCpuProfile_resultStandardScheme extends StandardScheme<getCpuProfile_result> { public void read(org.apache.thrift.protocol.TProtocol iprot, getCpuProfile_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.success = iprot.readString(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, getCpuProfile_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); oprot.writeString(struct.success); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class getCpuProfile_resultTupleSchemeFactory implements SchemeFactory { public getCpuProfile_resultTupleScheme getScheme() { return new getCpuProfile_resultTupleScheme(); } } private static class getCpuProfile_resultTupleScheme extends TupleScheme<getCpuProfile_result> { @Override public void write(org.apache.thrift.protocol.TProtocol prot, getCpuProfile_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { oprot.writeString(struct.success); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, getCpuProfile_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.success = iprot.readString(); struct.setSuccessIsSet(true); } } } } public static class aliveSince_args implements org.apache.thrift.TBase<aliveSince_args, aliveSince_args._Fields>, java.io.Serializable, Cloneable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("aliveSince_args"); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new aliveSince_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, new aliveSince_argsTupleSchemeFactory()); } /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { ; private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(aliveSince_args.class, metaDataMap); } public aliveSince_args() { } /** * Performs a deep copy on <i>other</i>. */ public aliveSince_args(aliveSince_args other) { } public aliveSince_args deepCopy() { return new aliveSince_args(this); } @Override public void clear() { } public void setFieldValue(_Fields field, Object value) { switch (field) { } } public Object getFieldValue(_Fields field) { switch (field) { } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof aliveSince_args) return this.equals((aliveSince_args)that); return false; } public boolean equals(aliveSince_args that) { if (that == null) return false; return true; } @Override public int hashCode() { return 0; } public int compareTo(aliveSince_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; aliveSince_args typedOther = (aliveSince_args)other; return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("aliveSince_args("); boolean first = true; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class aliveSince_argsStandardSchemeFactory implements SchemeFactory { public aliveSince_argsStandardScheme getScheme() { return new aliveSince_argsStandardScheme(); } } private static class aliveSince_argsStandardScheme extends StandardScheme<aliveSince_args> { public void read(org.apache.thrift.protocol.TProtocol iprot, aliveSince_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, aliveSince_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class aliveSince_argsTupleSchemeFactory implements SchemeFactory { public aliveSince_argsTupleScheme getScheme() { return new aliveSince_argsTupleScheme(); } } private static class aliveSince_argsTupleScheme extends TupleScheme<aliveSince_args> { @Override public void write(org.apache.thrift.protocol.TProtocol prot, aliveSince_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override public void read(org.apache.thrift.protocol.TProtocol prot, aliveSince_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } public static class aliveSince_result implements org.apache.thrift.TBase<aliveSince_result, aliveSince_result._Fields>, java.io.Serializable, Cloneable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("aliveSince_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new aliveSince_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, new aliveSince_resultTupleSchemeFactory()); } public long success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(aliveSince_result.class, metaDataMap); } public aliveSince_result() { } public aliveSince_result( long success) { this(); this.success = success; setSuccessIsSet(true); } /** * Performs a deep copy on <i>other</i>. */ public aliveSince_result(aliveSince_result other) { __isset_bitfield = other.__isset_bitfield; this.success = other.success; } public aliveSince_result deepCopy() { return new aliveSince_result(this); } @Override public void clear() { setSuccessIsSet(false); this.success = 0; } public long getSuccess() { return this.success; } public aliveSince_result setSuccess(long success) { this.success = success; setSuccessIsSet(true); return this; } public void unsetSuccess() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((Long)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return Long.valueOf(getSuccess()); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof aliveSince_result) return this.equals((aliveSince_result)that); return false; } public boolean equals(aliveSince_result that) { if (that == null) return false; boolean this_present_success = true; boolean that_present_success = true; if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (this.success != that.success) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(aliveSince_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; aliveSince_result typedOther = (aliveSince_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("aliveSince_result("); boolean first = true; sb.append("success:"); sb.append(this.success); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class aliveSince_resultStandardSchemeFactory implements SchemeFactory { public aliveSince_resultStandardScheme getScheme() { return new aliveSince_resultStandardScheme(); } } private static class aliveSince_resultStandardScheme extends StandardScheme<aliveSince_result> { public void read(org.apache.thrift.protocol.TProtocol iprot, aliveSince_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.success = iprot.readI64(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, aliveSince_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); oprot.writeI64(struct.success); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class aliveSince_resultTupleSchemeFactory implements SchemeFactory { public aliveSince_resultTupleScheme getScheme() { return new aliveSince_resultTupleScheme(); } } private static class aliveSince_resultTupleScheme extends TupleScheme<aliveSince_result> { @Override public void write(org.apache.thrift.protocol.TProtocol prot, aliveSince_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { oprot.writeI64(struct.success); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, aliveSince_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.success = iprot.readI64(); struct.setSuccessIsSet(true); } } } } public static class reinitialize_args implements org.apache.thrift.TBase<reinitialize_args, reinitialize_args._Fields>, java.io.Serializable, Cloneable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("reinitialize_args"); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new reinitialize_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, new reinitialize_argsTupleSchemeFactory()); } /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { ; private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(reinitialize_args.class, metaDataMap); } public reinitialize_args() { } /** * Performs a deep copy on <i>other</i>. */ public reinitialize_args(reinitialize_args other) { } public reinitialize_args deepCopy() { return new reinitialize_args(this); } @Override public void clear() { } public void setFieldValue(_Fields field, Object value) { switch (field) { } } public Object getFieldValue(_Fields field) { switch (field) { } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof reinitialize_args) return this.equals((reinitialize_args)that); return false; } public boolean equals(reinitialize_args that) { if (that == null) return false; return true; } @Override public int hashCode() { return 0; } public int compareTo(reinitialize_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; reinitialize_args typedOther = (reinitialize_args)other; return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("reinitialize_args("); boolean first = true; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class reinitialize_argsStandardSchemeFactory implements SchemeFactory { public reinitialize_argsStandardScheme getScheme() { return new reinitialize_argsStandardScheme(); } } private static class reinitialize_argsStandardScheme extends StandardScheme<reinitialize_args> { public void read(org.apache.thrift.protocol.TProtocol iprot, reinitialize_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, reinitialize_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class reinitialize_argsTupleSchemeFactory implements SchemeFactory { public reinitialize_argsTupleScheme getScheme() { return new reinitialize_argsTupleScheme(); } } private static class reinitialize_argsTupleScheme extends TupleScheme<reinitialize_args> { @Override public void write(org.apache.thrift.protocol.TProtocol prot, reinitialize_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override public void read(org.apache.thrift.protocol.TProtocol prot, reinitialize_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } public static class shutdown_args implements org.apache.thrift.TBase<shutdown_args, shutdown_args._Fields>, java.io.Serializable, Cloneable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("shutdown_args"); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new shutdown_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, new shutdown_argsTupleSchemeFactory()); } /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { ; private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(shutdown_args.class, metaDataMap); } public shutdown_args() { } /** * Performs a deep copy on <i>other</i>. */ public shutdown_args(shutdown_args other) { } public shutdown_args deepCopy() { return new shutdown_args(this); } @Override public void clear() { } public void setFieldValue(_Fields field, Object value) { switch (field) { } } public Object getFieldValue(_Fields field) { switch (field) { } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof shutdown_args) return this.equals((shutdown_args)that); return false; } public boolean equals(shutdown_args that) { if (that == null) return false; return true; } @Override public int hashCode() { return 0; } public int compareTo(shutdown_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; shutdown_args typedOther = (shutdown_args)other; return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("shutdown_args("); boolean first = true; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class shutdown_argsStandardSchemeFactory implements SchemeFactory { public shutdown_argsStandardScheme getScheme() { return new shutdown_argsStandardScheme(); } } private static class shutdown_argsStandardScheme extends StandardScheme<shutdown_args> { public void read(org.apache.thrift.protocol.TProtocol iprot, shutdown_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, shutdown_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class shutdown_argsTupleSchemeFactory implements SchemeFactory { public shutdown_argsTupleScheme getScheme() { return new shutdown_argsTupleScheme(); } } private static class shutdown_argsTupleScheme extends TupleScheme<shutdown_args> { @Override public void write(org.apache.thrift.protocol.TProtocol prot, shutdown_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override public void read(org.apache.thrift.protocol.TProtocol prot, shutdown_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; }
b166639f-be00-45bd-8110-e4913c1cc29f
public void setCustomDate4(java.util.Calendar customDate4) { this.customDate4 = customDate4; }
f9522af3-d3e5-485f-ad25-859812dbaa9f
public crmondemand.xml.contact.query.QueryType getCustomText71() { return this.customText71; }
3260ce07-9062-45ef-a9aa-c2c01650ab2b
public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem8ActionPerformed(evt); }
afd492e4-5757-4cef-8824-559e851c0bfa
public void setCustomText75(java.lang.String customText75) { this.customText75 = customText75; }
0e7789fb-9329-4f0e-80b4-628985668111
public crmondemand.xml.opportunity.query.QueryType getCustomBoolean10() { return this.customBoolean10; }
e99b578a-f948-4f2a-8da3-643f9a7a9780
public boolean isWhip() {return whip;}
224a7a75-c444-413b-9fcd-fbd314c4b1cc
public crmondemand.xml.opportunity.query.QueryType getCreatedBy() { return this.createdBy; }
c3c8458c-a9ee-48fb-98a4-75cdfe481e84
public void addArgument(String type, Context c, HashMap map, DataFactory factory) { IVPValue value = null; if(type.equals(IVPValue.INTEGER_TYPE)){ value = factory.createIVPNumber(); c.addInt(value.getUniqueID(), new Integer(IVPValue.DEFAULT_INTEGER).intValue()); }else if(type.equals(IVPValue.DOUBLE_TYPE)){ value = factory.createIVPNumber(); c.addDouble(value.getUniqueID(), new Double(IVPValue.DEFAULT_DOUBLE).doubleValue()); }else if(type.equals(IVPValue.STRING_TYPE)){ value = factory.createIVPString(); c.addString(value.getUniqueID(), IVPValue.DEFAULT_STRING); }else { value = factory.createIVPBoolean(); c.addBoolean(value.getUniqueID(), new Boolean(IVPValue.DEFAULT_BOOLEAN)); } value.setValueType(type); map.put(value.getUniqueID(), value); argumentList.add(value.getUniqueID()); }
6d3d390f-2339-41cb-a40d-a6f7949b5896
public void actionPerformed(java.awt.event.ActionEvent evt) { jButton_Default_TDActionPerformed(evt); }
2be99f44-8c52-4f93-872f-40c462af6610
public void setCustomPickList43(java.lang.String customPickList43) { this.customPickList43 = customPickList43; }
7fa7f6c2-6691-4865-ac8a-60e88157a5ef
@Override public boolean isImmediate() { return true; }
bbb22249-05b4-4749-9be3-995fbe059510
public crmondemand.xml.customobject6.query.QueryType getCustomObject11Id() { return this.customObject11Id; }
579cf25e-e0ef-4281-9abf-440007f37ce1
private void sectorEmpleadoKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_sectorEmpleadoKeyTyped // TODO add your handling code here: Validaciones.SoloLetras(evt, sectorEmpleado); }//GEN-LAST:event_sectorEmpleadoKeyTyped
0dfeadc8-abc3-43fd-8022-eed832d97e3f
public void onDeinit() {}
ebba600d-b3ee-4bad-9680-b9db57b02d75
public crmondemand.xml.customobject6.query.QueryType getCustomText58() { return this.customText58; }
3019028f-ee83-4669-ac3f-a49a63278c1d
public void test_minusDays() { OffsetDateTime base = OffsetDateTime.of(2008, 6, 30, 11, 30, 59, OFFSET_PONE); OffsetDateTime test = base.minusDays(1); assertEquals(test, OffsetDateTime.of(2008, 6, 29, 11, 30, 59, OFFSET_PONE)); } // ----------------------------------------------------------------------- // minusHours() // ----------------------------------------------------------------------- @Test(groups = { "tck" }
6e7bbc0f-e78d-4e81-a45e-25fe3df52a72
public void setCustomObject8Type(java.lang.String customObject8Type) { this.customObject8Type = customObject8Type; }
38645034-e5f9-4639-9744-a19c1c0de0c7
public crmondemand.xml.contact.query.QueryType getUpdatedByAlias() { return this.updatedByAlias; }
b0b1b865-452a-4188-a93c-7dd622345262
public crmondemand.xml.customobject3.query.QueryType getIndexedPick3() { return this.indexedPick3; }
b9e04e0f-652e-4280-b766-64bf411bd342
public void setIndexedDate0(crmondemand.xml.customobject6.query.QueryType indexedDate0) { this.indexedDate0 = indexedDate0; }
d45e5acf-d033-4fda-bf49-a0db0d5a4e32
public void setCustomBoolean16(crmondemand.xml.customobject6.query.QueryType customBoolean16) { this.customBoolean16 = customBoolean16; }
740364b6-41f0-4910-a693-706bca84572c
public java.lang.Boolean getCustomBoolean28() { return this.customBoolean28; }
964b3282-1417-4e1e-99b0-3d9f47ae401a
public org.bwapi.proxy.messages.GameMessages.UpgradeType.Builder getUpgradeTypeBuilder() { bitField0_ |= 0x00000100; onChanged(); return getUpgradeTypeFieldBuilder().getBuilder(); }
f78d1077-2ade-4a6b-80f0-d1ae4bfad961
public crmondemand.xml.customobject6.query.QueryType getInvtPeriodEndDate() { return this.invtPeriodEndDate; }
4b056c92-eb81-4a30-b2f9-1973f9d9ee85
public Item getItemsInRoom(String item) //Zaq: Gets an instance of an item in the room { return ItemsInRoom.get(item); }
222a439c-1ff1-4533-9eb7-fdfd1add3d62
public void setCustomNumber59(crmondemand.xml.customobject3.query.QueryType customNumber59) { this.customNumber59 = customNumber59; }
3eab77c9-98c6-49df-af19-42c130ddc4d1
public crmondemand.xml.contact.query.QueryType getAccountType() { return this.accountType; }
7d333530-f763-4687-be29-9266061fb338
public java.math.BigDecimal getCustomNumber6() { return this.customNumber6; }
0b73ce1f-cc6c-43e5-9418-8ef46b08fb41
public crmondemand.xml.contact.query.QueryType getCustomInteger5() { return this.customInteger5; }
c9d41b0e-48ab-4438-83ba-40521f0d78dd
public void setCustomPickList19(crmondemand.xml.customobject3.query.QueryType customPickList19) { this.customPickList19 = customPickList19; }
4b8b84b7-3f4c-4c57-8f80-db9e43e2595f
public AbstractProductA createProductA() { return new ProductA1(); }
e928cdf8-e88d-4e78-9530-b3be9d0ffefa
public void setObjectiveType(java.lang.String objectiveType) { this.objectiveType = objectiveType; }
3c01524d-abec-4ffb-8a85-5f0a7ee6c85b
public void setCustomPickList29(crmondemand.xml.customobject6.query.QueryType customPickList29) { this.customPickList29 = customPickList29; }
d3c58d54-80e3-4718-8457-c4870548cb8f
public void setTipo(String tipo) { this.tipo = tipo; }
d3d69fa3-d2e7-4f1a-afd9-a1b10c4104d8
public int recognize() { ResultSet rs ; try { rs = stmt.executeQuery("Select * from NoseTipE"); while(rs.next()) { float fal1=Math.abs((float) (Float.parseFloat(rs.getString("al1"))-al1.d)); float fal2=Math.abs((float) (Float.parseFloat(rs.getString("al2"))-al2.d)); float fin1=Math.abs((float) (Float.parseFloat(rs.getString("in1"))-in1.d)); float fin2=(float) (Float.parseFloat(rs.getString("in2"))-in2.d); float fr=(float) (Float.parseFloat(rs.getString("r"))-r1.d); float fo1=(float) (Float.parseFloat(rs.getString("o1"))-o1.d); float fo2=(float) (Float.parseFloat(rs.getString("o2"))-o2.d); float fm1=(float) (Float.parseFloat(rs.getString("m1"))-m1.d); float fm2=(float) (Float.parseFloat(rs.getString("m2"))-m2.d); fin2=Math.abs(fin2); fr=Math.abs(fr); fo1=Math.abs(fo1); fo2=Math.abs(fo2); fm1=Math.abs(fm1); fm2=Math.abs(fm2); int id = Integer.parseInt(rs.getString("REFERENCEID")); if(fal1<1 && fal2<1 && fr<1 && fo1<1 && fo2<1 && fm1<1 && fm2<1 && fin1<1 && fin2<1) { System.out.println(id); return id; } } } catch(Exception e) { System.out.println(e); } return -1; }
88cc0b56-7001-408f-b4ab-4f8cc27f675f
public void test_minusYears_long_invalidTooLargeMaxAddMin() { OffsetDate test = OffsetDate.of(Year.MAX_YEAR, 12, 1, OFFSET_PONE); test.minusYears(Long.MIN_VALUE); } @Test(expectedExceptions = DateTimeException.class, groups = { "tck" }
0d7c09ed-b78e-4e11-8a7f-ef9b3014f746
public void setCustomBoolean16(java.lang.Boolean customBoolean16) { this.customBoolean16 = customBoolean16; }
e519be2b-33f7-434c-a5b8-0bf5e3eddc90
public void setCustomPhone9(crmondemand.xml.customobject6.query.QueryType customPhone9) { this.customPhone9 = customPhone9; }
5316b29b-08f6-4db2-81d0-94b0a246f3e8
*/ public List<ScoredObject<Tree>> getBestParses() { int start = 0; int end = length; int goal = stateNumberer.number(goalStr); double bestScore = iScore[start][end][goal]; List<Tree> internalTrees = extractBestParses(goal, start, end); //System.out.println("Got internal best parse..."); // for (Tree internalTree : internalTrees) { // restoreUnaries(internalTree); // } //System.out.println("Restored unaries..."); List<ScoredObject<Tree>> scoredTrees = new ArrayList<ScoredObject<Tree>>(internalTrees.size()); for (Tree tr : internalTrees) { scoredTrees.add(new ScoredObject<Tree>(tr, bestScore)); } return scoredTrees; //TreeTransformer debinarizer = BinarizerFactory.getDebinarizer(); //return debinarizer.transformTree(internalTree); }
4dda5796-4d14-456b-b3c6-5b4777ac1d0f
public void setCustomNumber24(crmondemand.xml.contact.query.QueryType customNumber24) { this.customNumber24 = customNumber24; }
5bf0eafe-6e7a-4e68-8e92-554a180c4870
public void setCustomPickList86(java.lang.String customPickList86) { this.customPickList86 = customPickList86; }
6faf0a00-b5c1-44fd-b1a7-38b7e8dd111f
public void setCustomInteger3(crmondemand.xml.customobject3.query.QueryType customInteger3) { this.customInteger3 = customInteger3; }
c65d961a-3db5-4c21-a1b1-d92e3d3e4b9f
public void setContactFullName(java.lang.String contactFullName) { this.contactFullName = contactFullName; }
679dda74-a6a1-4ff9-a4ed-7c6f4a416632
public crmondemand.xml.contact.query.QueryType getCustomBoolean21() { return this.customBoolean21; }
d8f043d9-e8fc-4b5b-96d1-8b4f10559fdd
public void setCustomText68(java.lang.String customText68) { this.customText68 = customText68; }
d1da162f-b385-4ec2-82f0-95eaf2e467d8
public void setZCustomText8(java.lang.String zCustomText8) { this.zCustomText8 = zCustomText8; }
ab405fbc-d706-4277-a1f2-006cd8b556d7
public void setCustomObject4Type(java.lang.String customObject4Type) { this.customObject4Type = customObject4Type; }
14f5c1d9-c487-421a-9d75-8805d2e5513b
public crmondemand.xml.customobject3.query.QueryType getCustomCurrency9() { return this.customCurrency9; }
40c13cab-5c62-4e55-8c99-3025f2639c68
public void setAssetIntegrationId(java.lang.String assetIntegrationId) { this.assetIntegrationId = assetIntegrationId; }
d0057fdf-509a-4115-afd5-66db37d51fe6
public void setStatus(String status) { this.status = status; }
5211fb8d-eb44-458c-8945-9c413a7615e7
public synchronized static FingerprintHome getFingerprintHome() { if(fpHome == null) { fpHome = new FingerprintHome(); } return fpHome; }
28596a72-89ca-4f99-973d-06d676b01cff
public void setCustomPickList67(java.lang.String customPickList67) { this.customPickList67 = customPickList67; }
d9e4c8d5-b9de-4525-a390-22be9d88ad63
private boolean jj_3R_212() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(73)) { jj_scanpos = xsp; if (jj_scan_token(41)) return true; } return false; }
a30e47d6-8b95-47c0-b5ff-39a7a09f3437
public java.lang.String getCustomPhone4() { return this.customPhone4; }
0c303be7-4c44-4e8b-86b8-9649d5aa7103
@Override public void deleteLivre(Session session, LivreDTO livreDTO) throws InvalidHibernateSessionException, InvalidDTOException, ServiceException { try { getLivreDAO().delete(session, livreDTO); } catch(DAOException daoException) { throw new ServiceException(daoException); } }
fca6d406-7fae-4990-aef3-ef53a2d6e927
public void handler() { int r, d; int b; b=IDXWORD(); d = getDreg(); r = d + b; CLR_NZVC(); SET_FLAGS16(d, b, r); setDreg(r); }
ca511fa7-d885-495c-8a79-74799b049a59
public void setCreatedByExternalSystemId(java.lang.String createdByExternalSystemId) { this.createdByExternalSystemId = createdByExternalSystemId; }
86e68f44-7680-4800-9211-44738007d609
public java.lang.String getCustomObject12IntegrationId() { return this.customObject12IntegrationId; }
f60d7504-38fb-4e16-8c53-e51235e6dac2
public Image getImage(){ return tileImg; }
7fd60e84-d18b-40dc-9dcc-07723c537993
public crmondemand.xml.customobject3.query.QueryType getCustomObject3Id() { return this.customObject3Id; }
02fe7d2a-0d11-4261-a341-64d3dcdd1f2e
public crmondemand.xml.opportunity.query.QueryType getApproverEMailAddr() { return this.approverEMailAddr; }
d7ae37a8-28ed-4532-b325-41d9312b604b
public void setCustomText2(crmondemand.xml.contact.query.QueryType customText2) { this.customText2 = customText2; }
14416439-39d9-47d6-92f0-cf21fccd1ae0
public void setCustomNumber7(java.math.BigDecimal customNumber7) { this.customNumber7 = customNumber7; }
6a1f9bc7-b46b-4622-ad80-9dd8cc62a5b1
public java.util.Calendar getFinancialAccountOpenDate() { return this.financialAccountOpenDate; }
e0a0fb09-afcc-4f96-8018-7ace49d55b28
public void setCustomPickList47(java.lang.String customPickList47) { this.customPickList47 = customPickList47; }
7e312101-e3a8-4146-987a-90cac0e196e5
public Font getFont() {return _FONT ;}
1c867ee0-5caa-4001-8155-21ad1862dbc9
public crmondemand.xml.opportunity.query.QueryType getInvtPeriodActiveFlg() { return this.invtPeriodActiveFlg; }
7928257d-6562-47ef-b883-27dc9dad2cf3
public String searchToString() { String res = ""; for (int i = 0; i < searchDetails.size(); i++) { res += searchDetails.get(i).toString() + "\n"; } return res; }
63835da1-72a8-42d7-aed8-0777b8fe27e7
public java.lang.String getServiceRequestSRNumber() { return this.serviceRequestSRNumber; }
e3c22996-445b-4903-85df-52b70b079ca1
public crmondemand.xml.customobject3.query.QueryType getCustomCurrency6() { return this.customCurrency6; }
91a02f9b-a109-499d-be7f-d7d5486ccef1
@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Throwable.class) public boolean changePassword( String email, String oldPassword, String newPassword) throws Exception { HashMap<String,String> paramMap = new HashMap<String,String>(); paramMap.put("email", email); paramMap.put("oldPassword", oldPassword); paramMap.put("newPassword", newPassword); if (memberDao.changePassword(paramMap) > 0) { return true; } else { return false; } }
987f7122-4708-4428-88f6-7be1f542ebef
public void setSampleLotExpirationDate(java.util.Calendar sampleLotExpirationDate) { this.sampleLotExpirationDate = sampleLotExpirationDate; }
d33b6f12-8ee6-4c48-b4f5-34aa751c3611
public void setCourseStatus(crmondemand.xml.customobject6.query.QueryType courseStatus) { this.courseStatus = courseStatus; }
6349d7cd-820f-4237-9bbf-27e6d923dc60
public void setCustomBoolean6(java.lang.Boolean customBoolean6) { this.customBoolean6 = customBoolean6; }
5eba0a0f-cafe-4b30-8db3-4d0a44dc588c
public java.lang.Integer getCustomInteger20() { return this.customInteger20; }
d9889d35-931c-4266-b6cd-7a7e874eff8e
public void setPosition(double x, double y) { this.position = new Vector2D(x, y); }
cd0db4bd-66b3-41c6-b5a9-5d9ab66b7f76
public void setCustomObject1Id(crmondemand.xml.contact.query.QueryType customObject1Id) { this.customObject1Id = customObject1Id; }
0f31ee18-2bec-4b6a-bb41-01a9f09dcb1e
public crmondemand.xml.customobject6.query.QueryType getOpportunityExternalSystemId() { return this.opportunityExternalSystemId; }