id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
42eec1eb-73ae-421e-a72a-b6b2fac1dd26 | public java.lang.String getCustomObject5Id() {
return this.customObject5Id;
} |
c09c3664-9576-47c3-9a35-4d9ae9129a28 | public void setCustomInteger6(java.lang.Integer customInteger6) {
this.customInteger6 = customInteger6;
} |
48a0d1ac-5803-4ac6-90c2-424622f8ed38 | public java.lang.String getCustomPickList33() {
return this.customPickList33;
} |
3fbacdbf-20b1-42fa-bfe8-59d4ad9b145d | public crmondemand.xml.customobject6.query.QueryType getAccreditationStatus() {
return this.accreditationStatus;
} |
2ee69698-a583-410d-8092-281b3ff3d389 | public java.lang.String getUpdatedByUserSignInId() {
return this.updatedByUserSignInId;
} |
7a224ddd-ab9f-4a37-95fb-3525f3b476e7 | public void setCustomNumber16(crmondemand.xml.contact.query.QueryType customNumber16) {
this.customNumber16 = customNumber16;
} |
1c187ad0-3555-4229-b806-4150e351b2dc | @Override
public void setScene(){
projectileAnmiationScene = new Scene(root_PM,sceneWidth,sceneHeight);
setGraph();
setButtonEvent();
setTimelineEvent();
resetCircle();
inputAngleProjectile.setPromptText("Input Angle in degrees (Between 0-90)");
inputVelocityProjectile.setPromptText("Input Initial Velocity in m/s (Between 0-50)");
inputHeightProjectile.setPromptText("Input Height in m (Optional, Between 0-100)");
buttonGroup_PM.setPadding(new Insets(25,25,25,25));
buttonGroup_PM.setSpacing(10);
buttonGroup_PM.getChildren().addAll(startButtonProjectile,pauseButtonProjectile,resetButtonProjectile,backButtonProjectile,inputAngleProjectile,inputVelocityProjectile,inputHeightProjectile);
root_PM.setTop(buttonGroup_PM);
root_PM.setRight(graphPane);
root_PM.getChildren().add(circleProjectile);
} |
50a0d27e-bb47-4d3f-9f60-93559d0995ed | public static int getIdByName(String name) {
Connection con = DatabaseConnection.getConnection();
PreparedStatement ps;
try {
ps = con.prepareStatement("SELECT id FROM characters WHERE name = ?");
ps.setString(1, name);
ResultSet rs = ps.executeQuery();
if (!rs.next()) {
rs.close();
ps.close();
return -1;
}
int id = rs.getInt("id");
rs.close();
ps.close();
return id;
} catch (SQLException e) {
System.err.println("Error getting id by name from DB" + e);
}
return -1;
} |
440b2ee7-8488-4582-8b2b-d2132325a031 | public crmondemand.xml.opportunity.query.QueryType getFundRequestId() {
return this.fundRequestId;
} |
7f358a29-7ece-4a34-9998-3735145d350d | public void setCustomPickList23(java.lang.String customPickList23) {
this.customPickList23 = customPickList23;
} |
854e81e3-7cf7-411a-8fb6-4951dcf89764 | public Long getId() {
return id;
} |
b2044d70-e90b-42cb-a3ee-2f9e5da85fd4 | public void setCustomPickList75(java.lang.String customPickList75) {
this.customPickList75 = customPickList75;
} |
f980e730-bece-4f8f-9b43-21f11ef1849d | public crmondemand.xml.customobject6.query.QueryType getCustomObject6ExternalSystemId() {
return this.customObject6ExternalSystemId;
} |
bd0c8dc5-4fe9-4600-9c45-657f2d1b9bdb | public void setCustomObject15Id(java.lang.String customObject15Id) {
this.customObject15Id = customObject15Id;
} |
e44f8868-c425-42b2-a476-681be05a4536 | public void setCustomObject6Type(crmondemand.xml.customobject6.query.QueryType customObject6Type) {
this.customObject6Type = customObject6Type;
} |
d3014727-15b7-48a7-8f19-0855b8abe0a0 | public final int getSkillLevel() {
return skillLevel;
} |
63e8af55-9d93-479d-b8fe-489fecc28c44 | public java.lang.Integer getCustomInteger2() {
return this.customInteger2;
} |
aa2c383d-bc5a-4b74-b1ec-b849b0375d80 | public static Cons propositionToCons(Proposition prop) {
{ Cons result = Stella.NIL;
{ Stella_Object arg = null;
Vector vector000 = prop.arguments;
int index000 = 0;
int length000 = vector000.length();
for (;index000 < length000; index000 = index000 + 1) {
arg = (vector000.theArray)[index000];
result = Cons.cons(Logic.consifyArgument(arg), result);
}
}
{ Keyword testValue000 = prop.kind;
if (testValue000 == Logic.KWD_IN) {
return (result);
}
else if ((testValue000 == Logic.KWD_PREDICATE) ||
(testValue000 == Logic.KWD_FUNCTION)) {
result = Cons.cons(Symbol.internSymbolInModule(((Surrogate)(prop.operator)).symbolName, ((Module)(((Surrogate)(prop.operator)).homeContext)), true), result.reverse());
}
else if (testValue000 == Logic.KWD_EQUIVALENT) {
result = Cons.cons(Logic.SYM_STELLA_e, result.reverse());
}
else if ((testValue000 == Logic.KWD_FORALL) ||
(testValue000 == Logic.KWD_EXISTS)) {
if (!(result.rest == Stella.NIL)) {
result = Cons.consList(Cons.cons(Logic.SYM_STELLA_OR, Cons.cons(Cons.consList(Cons.cons(Logic.SYM_STELLA_NOT, Cons.cons(result.rest.value, Stella.NIL))), Cons.cons(result.value, Stella.NIL))));
}
else {
result = ((Cons)(result.value));
}
{ Cons bindings = Stella.NIL;
{ PatternVariable io = null;
Vector vector001 = ((Vector)(KeyValueList.dynamicSlotValue(prop.dynamicSlots, Logic.SYM_LOGIC_IO_VARIABLES, null)));
int index001 = 0;
int length001 = vector001.length();
for (;index001 < length001; index001 = index001 + 1) {
io = ((PatternVariable)((vector001.theArray)[index001]));
if (Logic.argumentBoundTo(io) == null) {
bindings = Cons.cons(Cons.consList(Cons.cons(Symbol.internSymbol(Skolem.getSkolemPrintName(io)), Cons.cons(Symbol.internSymbol(Logic.logicalType(io).symbolName), Stella.NIL))), bindings);
}
}
}
if (!(bindings == Stella.NIL)) {
result = Cons.consList(Cons.cons(Symbol.internSymbol(prop.kind.symbolName), Cons.cons(bindings, Cons.cons(result, Stella.NIL))));
}
}
}
else {
result = Cons.cons(Symbol.internSymbol(((Surrogate)(prop.operator)).symbolName), result.reverse());
}
}
if (Proposition.falseP(prop)) {
return (Cons.list$(Cons.cons(Logic.SYM_STELLA_NOT, Cons.cons(result, Cons.cons(Stella.NIL, Stella.NIL)))));
}
else {
return (result);
}
}
} |
0b309fd8-f96f-4efe-9416-3d59f93056a2 | public crmondemand.xml.contact.query.QueryType getCustomPickList41() {
return this.customPickList41;
} |
461270ac-051e-4d75-8b54-b101e2a71635 | public void setCustomDate18(java.util.Calendar customDate18) {
this.customDate18 = customDate18;
} |
b4d93c46-0158-4e60-ac74-85327d5b2ca4 | public crmondemand.xml.contact.query.QueryType getFundStatus() {
return this.fundStatus;
} |
80ea24a5-138f-4f58-ae28-c3ff15257980 | public void setCustomBoolean16(crmondemand.xml.customobject3.query.QueryType customBoolean16) {
this.customBoolean16 = customBoolean16;
} |
2d5f66a5-4a52-40a9-83a5-541eb7b97a0c | public void setServiceRequestId(java.lang.String serviceRequestId)
{
this.serviceRequestId = serviceRequestId;
} |
daeb300a-bd2f-4a93-967b-e035e8175652 | public void setCustomText87(java.lang.String customText87) {
this.customText87 = customText87;
} |
19cc8d33-63fb-4118-b043-f26b590ceba2 | public crmondemand.xml.contact.query.QueryType getCustomPhone11() {
return this.customPhone11;
} |
fcb7c102-fbc0-470e-bb3f-1fd8c18708b5 | protected void sendTopMessage(String thisMessage) {
sendTopMessage(thisMessage, 10);
} |
be83245e-b768-44d4-8469-eb5c0c2807b7 | public void attack(Character inimigo) {
int dano = 0, prob = 0;
System.out.println("\nO guerreiro " + getName() + " atacou o "
+ inimigo.getName());
Random generator = new Random();
int probs = generator.nextInt(101); // aqui é gerado um numero randomico
// que calculará a possibilidade de
// miss
if (probs <= (0.1 / XP) * 100) { // aqui é calculado a porcentagem de
// miss acontecer
System.out.println("O ataque Falhou!");
return;
}
Random gerador = new Random();
prob = gerador.nextInt(101); // calculado outro numero randomico
Random gen = new Random();
int probis = gen.nextInt(11) - 5; // calculado o numero randomico da
// função do ataque
dano = (int) (this.getAttackPoints() - inimigo.getDefensePoints()) + probis; // dano
// calculado
if (dano < 1)
dano = 1;
if (prob <= 100 * (0.02 * (XP / 2))) { // aqui é calculado a porcentagem
// de acontecer ataque critico
dano = dano * 2;
System.out.println("WOOOW! O ataque foi Crítico!");
}
inimigo.lessHP(dano);
System.out
.println("O dano em " + inimigo.getName() + " foi de " + dano);
} |
f9c8dee3-c673-42d0-b622-8d907073b7f7 | * retrieves those without a schema @param table a table name @return
* ResultSet each row is a primary key column description
*/
public java.sql.ResultSet getPrimaryKeys(String catalog, String schema,
String table) throws SQLException
{
String from;
String where = "";
String select = "SELECT NULL AS TABLE_CAT, n.nspname AS TABLE_SCHEM, ";
from = " FROM pg_catalog.pg_namespace n, pg_catalog.pg_class ct, pg_catalog.pg_class ci, pg_catalog.pg_attribute a, pg_catalog.pg_index i ";
where = " AND ct.relnamespace = n.oid AND " +
resolveSchemaCondition("n.nspname", schema);
String sql = select + " ct.relname AS TABLE_NAME, "
+ " a.attname AS COLUMN_NAME, " + " a.attnum::int2 AS KEY_SEQ, "
+ " ci.relname AS PK_NAME " + from
+ " WHERE ct.oid=i.indrelid AND ci.oid=i.indexrelid "
+ " AND a.attrelid=ci.oid AND i.indisprimary ";
if(table != null && !"".equals(table))
{
sql += " AND ct.relname = '" + escapeQuotes(table) + "' ";
}
sql += where + " ORDER BY table_name, pk_name, key_seq";
return createMetaDataStatement().executeQuery(sql);
} |
c4d0180c-1541-4638-9b5a-463077795de2 | public void setCustomObject11Type(crmondemand.xml.customobject6.query.QueryType customObject11Type) {
this.customObject11Type = customObject11Type;
} |
d927eaf9-fbe0-42bd-8ad4-52adf86bffd1 | public crmondemand.xml.customobject3.query.QueryType getCertficationStatus() {
return this.certficationStatus;
} |
118b718d-39bd-41e6-93c7-0b543ed57861 | public void setBrokerProfileExternalSystemId(java.lang.String brokerProfileExternalSystemId) {
this.brokerProfileExternalSystemId = brokerProfileExternalSystemId;
} |
58c315fc-2c2f-475d-b72a-2997ca640486 | public crmondemand.xml.opportunity.query.QueryType getCustomPickList11() {
return this.customPickList11;
} |
a5eeb5c2-daa1-4f71-963e-f4d72c67c076 | public crmondemand.xml.opportunity.query.QueryType getCustomInteger18() {
return this.customInteger18;
} |
7e3719dd-b3b6-41e4-91e7-8c5c0dfc4a2f | opcode m6502_58 = new opcode() { public void handler()
{
m6502_ICount[0] -= 2;
CLI();
if(m6502log!=null) fprintf(m6502log,"M6502#%d m6502_58 :PC:%d,PPC:%d,SP:%d,ZP:%d,EA:%d,A:%d,X:%d,Y:%d,P:%d,p_irq:%d,a_c:%d,nmi:%d,irq:%d,so:%d\n", cpu_getactivecpu(),m6502.pc.D,m6502.ppc.D,m6502.sp.D,m6502.zp.D,m6502.ea.D,m6502.a,m6502.x,m6502.y,m6502.p,m6502.pending_irq,m6502.after_cli,m6502.nmi_state,m6502.irq_state,m6502.so_state);
}} |
ade23256-48f2-449c-85d3-47abc19176e8 | public void setBusinessAccountOwner(crmondemand.xml.opportunity.query.QueryType businessAccountOwner) {
this.businessAccountOwner = businessAccountOwner;
} |
a555e76b-b463-44a9-bf0b-9ff573350547 | public crmondemand.xml.customobject6.query.QueryType getCustomPickList39() {
return this.customPickList39;
} |
5f65d429-7c2b-475a-a8b8-b9fd416f4a5e | public crmondemand.xml.opportunity.query.QueryType getOwnerIntegrationId() {
return this.ownerIntegrationId;
} |
fb03273c-c440-405f-8b4e-52eb1fc32a9f | public void setProductExternalSystemId(java.lang.String productExternalSystemId) {
this.productExternalSystemId = productExternalSystemId;
} |
67c3ccda-98c4-4f41-b4a0-5263e4729851 | public java.lang.String getCustomObject9Type() {
return this.customObject9Type;
} |
b41345d2-2166-420e-95b5-6cd04f3ac962 | public crmondemand.xml.customobject3.query.QueryType getCustomDate27() {
return this.customDate27;
} |
43662a57-3788-47df-9115-55061c3e2e28 | public void setCustomText36(crmondemand.xml.opportunity.query.QueryType customText36) {
this.customText36 = customText36;
} |
81b692af-db2a-43d6-a659-16d5e5e3d3b5 | public java.math.BigDecimal getCustomCurrency7() {
return this.customCurrency7;
} |
e5756e1a-ef3b-4f39-8152-0cbcc74c6757 | public void setCustomPickList58(java.lang.String customPickList58) {
this.customPickList58 = customPickList58;
} |
804eb7ef-223b-4ab8-883f-3fa3bd28f529 | public java.util.Calendar getPolicyExchangeDate() {
return this.policyExchangeDate;
} |
3bf392f6-705d-4404-ab24-63d26c6040d5 | public void setOpportunityIntegrationId(java.lang.String opportunityIntegrationId) {
this.opportunityIntegrationId = opportunityIntegrationId;
} |
4b82585b-17c9-461f-bb6c-ea8e3057374f | public java.util.Calendar getFinancialTransactionExchangeDate() {
return this.financialTransactionExchangeDate;
} |
311098ec-dfe4-41f4-878b-1de5dd6d76e0 | public java.util.Calendar getCustomDate5() {
return this.customDate5;
} |
8d2f8711-cb44-4917-886d-7712736b1a09 | public crmondemand.xml.customobject6.query.QueryType getCustomPickList99() {
return this.customPickList99;
} |
5dc338ca-bd42-4731-9aec-a64744e358c6 | public Message addString(String s)
{
if(s!=null)
{
increaseBuffer(4+s.length()*2);
buffer.putInt(s.length());
for(int i=0;i<s.length();i++)
buffer.putChar(s.charAt(i));
}
else
{
increaseBuffer(4);
buffer.putInt(-1);
}
return(this);
} |
62050fb4-254b-4733-915d-85bcbaf87e35 | public crmondemand.xml.customobject6.query.QueryType getCustomPickList79() {
return this.customPickList79;
} |
152bb03a-1efd-4bcf-a8b9-7d5500d07a88 | public java.lang.String getActivityStatus() {
return this.activityStatus;
} |
c959f97d-cdc6-4974-8e77-fed75476312c | public crmondemand.xml.contact.query.QueryType getCustomInteger18() {
return this.customInteger18;
} |
025eb4a5-4780-4915-bbde-e402fd15f88b | public AstType getType()
{
AstType type = new AstType(AstType.TYPE_TUPLE);
int i;
for (i = 0; i < m_expressions.size(); i++)
{
AstType t = ((AstBase) m_expressions.get(i)).getType();
type.m_tupleTypes.add(t);
}
/*
* Special case where a tuple is surrounded by parenthesis
*/
if (m_expressions.size() == 1)
{
AstType t = (AstType) type.m_tupleTypes.get(0);
if (t.getType() == AstType.TYPE_TUPLE)
{
return t;
}
}
return type;
}
}
public class AstDistUnionX extends AstExpression
{
AstExpression m_expression = null;
public AstDistUnionX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void populateTypeTable(AstSymbolTable stable)
{
m_stable = stable;
m_expression.populateTypeTable(m_stable);
}
public void populateSymbolTable()
{
m_expression.populateSymbolTable();
}
public AstType getType()
{
AstType type = m_expression.getType();
if (type.isUndefined())
{
return new AstType();
}
if (type.getType() != AstType.TYPE_SET)
{
reportTypeError("Expression used in distributed union must be a set of sets.",
m_token,
specObject,
property
);
return new AstType();
}
/*
* If the set is a tuple, then we need to make sure that each tuple
* is of the same type.
*/
if (type.getSetType().getType() == AstType.TYPE_TUPLE)
{
int i;
AstType stype = type.getSetType();
if (stype.m_tupleTypes.size() == 0)
{
return new AstType(AstType.TYPE_EMPTY);
}
AstType type1 = (AstType) stype.m_tupleTypes.get(0);
for (i = 1; i < stype.m_tupleTypes.size(); i++)
{
AstType type2 = (AstType) stype.m_tupleTypes.get(i);
if (!type1.isCompatible(type2))
{
reportTypeError("All sets used in a distributed union must be of the same type.",
m_token,
specObject,
property
);
return new AstType();
}
}
return type1;
}
else
{
if (type.getSetType().getType() != AstType.TYPE_SET)
{
reportTypeError("Expression used in distributed union must be a set of sets.",
m_token,
specObject,
property
);
return new AstType();
}
return type.getSetType();
}
}
}
public class AstDistIntersectionX extends AstExpression
{
AstExpression m_expression = null;
public AstDistIntersectionX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void populateTypeTable(AstSymbolTable stable)
{
m_stable = stable;
m_expression.populateTypeTable(m_stable);
}
public void populateSymbolTable()
{
m_expression.populateSymbolTable();
}
public AstType getType()
{
AstType type = m_expression.getType();
if (type.isUndefined())
{
return new AstType();
}
if (type.getType() != AstType.TYPE_SET)
{
reportTypeError("Expression used in distributed intersection must be a set of sets.",
m_token,
specObject,
property
);
return new AstType();
}
/*
* If the set is a tuple, then we need to make sure that each tuple
* is of the same type.
*/
if (type.getSetType().getType() == AstType.TYPE_TUPLE)
{
int i;
AstType stype = type.getSetType();
if (stype.m_tupleTypes.size() == 0)
{
return new AstType(AstType.TYPE_EMPTY);
}
AstType type1 = (AstType) stype.m_tupleTypes.get(0);
for (i = 1; i < stype.m_tupleTypes.size(); i++)
{
AstType type2 = (AstType) stype.m_tupleTypes.get(i);
if (!type1.isCompatible(type2))
{
reportTypeError("All sets used in a distributed intersection must be of the same type.",
m_token,
specObject,
property
);
return new AstType();
}
}
return type1;
}
else
{
if (type.getSetType().getType() != AstType.TYPE_SET)
{
reportTypeError("Expression used in distributed intersection must be a set of sets.",
m_token,
specObject,
property
);
return new AstType();
}
return type.getSetType();
}
}
}
public class AstVariableX extends AstExpression
{
AstVariableName m_variable;
AstActualParameters m_actualParameters;
public AstVariableX(SpecObject specObject, String property)
{
super(specObject, property);
}
}
public class AstSelfX extends AstExpression
{
public AstSelfX(SpecObject specObject, String property)
{
super(specObject, property);
}
}
public class AstNumberX extends AstExpression
{
public AstNumberX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void print(int l)
{
print(l, m_token.m_value);
}
public AstType getType()
{
AstType type = new AstType();
if (m_token.m_value.indexOf('.') >= 0)
{
type.m_type = AstType.TYPE_REAL;
}
else
{
type.m_type = AstType.TYPE_NATURAL;
}
return type;
}
}
public class AstSchemaReferenceX extends AstExpression
{
AstSchemaReference m_schemaReference;
public AstSchemaReferenceX(SpecObject specObject, String property)
{
super(specObject, property);
}
}
public class AstClassNameX extends AstExpression
{
AstClassName m_className;
AstActualParameters m_actualParameters;
AstRenameList m_renameList;
public AstClassNameX(SpecObject specObject, String property)
{
super(specObject, property);
}
}
public class AstDownArrowX extends AstExpression
{
AstExpression m_expression;
public AstDownArrowX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void populateTypeTable(AstSymbolTable stable)
{
m_stable = stable;
m_expression.populateTypeTable(m_stable);
}
public void populateSymbolTable()
{
m_expression.populateSymbolTable();
}
public AstType getType()
{
if (m_expression == null)
{
return new AstType();
}
return m_expression.getType();
}
}
public class AstUnionX extends AstBinaryOpX
{
public void print(int l)
{
print(l, "Union");
super.print(l + 1);
}
public AstUnionX(SpecObject specObject, String property)
{
super(specObject, property);
}
public AstType getType()
{
AstType typeL = m_expressionL.getType();
AstType typeR = m_expressionR.getType();
if ((typeL.isUndefined())
|| (typeR.isUndefined()))
{
return new AstType();
}
if (!typeL.isSet() || !typeR.isSet())
{
reportTypeError(
"Expressions for the " + Character.toString(TozeFontMap.CHAR_CUP) + " operator must be sets",
m_token,
specObject,
property
);
return new AstType();
}
if (!typeL.isEqual(typeR))
{
reportTypeError(
"Sets must be the same type for the operator " + Character.toString(TozeFontMap.CHAR_CUP),
m_token,
specObject,
property
);
return new AstType();
}
return typeL;
}
}
public class AstCopyrightX extends AstUnaryOpX
{
public AstCopyrightX(SpecObject specObject, String property)
{
super(specObject, property);
}
}
public class AstAngleX extends AstExpression
{
List m_expressions = new ArrayList();
public AstAngleX(SpecObject specObject, String property)
{
super(specObject, property);
}
}
public class AstBagX extends AstExpression
{
List m_expressions = new ArrayList();
public AstBagX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void print(int l)
{
int i;
print(l, "BagExpression");
for (i = 0; i < m_expressions.size(); i++)
{
((AstExpression) m_expressions.get(i)).print(l + 1);
}
}
public void populateTypeTable(AstSymbolTable stable)
{
m_stable = stable;
int i;
for (i = 0; i < m_expressions.size(); i++)
{
((AstBase) m_expressions.get(i)).populateTypeTable(m_stable);
}
}
public void populateSymbolTable()
{
int i;
for (i = 0; i < m_expressions.size(); i++)
{
((AstBase) m_expressions.get(i)).populateSymbolTable();
}
}
public AstType getType()
{
int i;
boolean wasUndefined = false;
AstType type = new AstType(AstType.TYPE_BAG);
if (m_expressions.size() == 0)
{
return new AstType(AstType.TYPE_EMPTY);
}
AstType stype = ((AstBase) m_expressions.get(0)).getType();
if (stype.isUndefined())
{
return new AstType();
}
for (i = 1; i < m_expressions.size(); i++)
{
AstType ttype = ((AstBase) m_expressions.get(i)).getType();
if (ttype.isUndefined())
{
wasUndefined = true;
}
else
{
if (!ttype.isEqual(stype))
{
reportTypeError("All expressions of a bag must be of the same type",
m_token,
specObject,
property
);
}
}
}
if (wasUndefined)
{
return new AstType();
}
AstType rtype = new AstType(AstType.TYPE_BAG);
rtype.m_setType = new AstType(AstType.TYPE_TUPLE);
rtype.m_setType.newTuple(stype,
new AstType(AstType.TYPE_NATURAL1)
);
rtype.m_setType.m_tupleIsSeq = false;
return rtype;
}
}
public class AstThetaX extends AstExpression
{
AstSchemaName m_schemaName;
AstDecorations m_decorations;
AstRenameList m_renameList;
public AstThetaX(SpecObject specObject, String property)
{
super(specObject, property);
}
}
public class AstMemberX extends AstExpression
{
AstExpression m_expression;
AstVariableName m_variableName;
public AstMemberX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void print(int l)
{
print(l, "AstMember");
m_expression.print(l + 1);
m_variableName.print(l + 1);
}
public void populateTypeTable(AstSymbolTable stable)
{
m_stable = stable;
m_expression.populateTypeTable(m_stable);
}
public void populateSymbolTable()
{
m_expression.populateSymbolTable();
}
public AstType getType()
{
AstType ctype = m_expression.getType();
if (ctype.isUndefined())
{
return new AstType();
}
if (ctype == null)
{
reportTypeError("Undefined class variable",
m_expression.m_token,
specObject,
property
);
return new AstType();
}
if (ctype.getType() != AstType.TYPE_CLASS)
{
reportTypeError("Member access must be from a class type",
m_expression.m_token,
specObject,
property
);
return new AstType();
}
AstType type = null;
if (m_variableName != null)
{
type = ctype.getClassMembers().getTypeVisible(m_variableName.getName());
}
if (type == null)
{
// the variable name may be null after a class.member syntax
// where member is blank, handle as a null and use a unique
// TozeToken
String member = "<null>";
TozeToken token = null;
if (m_variableName != null)
{
member = m_variableName.getName();
token = m_variableName.m_token;
}
if (token == null)
{
token = new TozeToken(-1, member, -1, -1);
}
reportTypeError("The member " + member + " is not visible",
token,
specObject,
property
);
return new AstType();
}
if (type.isUndefined())
{
reportTypeError("The member " + m_variableName.getName() + " is undefined",
m_variableName.m_token,
specObject,
property
);
return new AstType();
}
return type;
}
}
public class AstPostfixFunctionNameX extends AstUnaryOpX
{
AstPostfixFunctionName m_postfixFunctionName;
public AstPostfixFunctionNameX(SpecObject specObject, String property)
{
super(specObject, property);
}
public AstType getType()
{
AstType type = m_expression.getType();
if (type.isUndefined())
{
return new AstType();
}
if ((m_postfixFunctionName.m_token.m_id == TozeTokenizer.TOKEN_TILDE)
|| (m_postfixFunctionName.m_token.m_id == TozeTokenizer.TOKEN_INV))
{
if (!type.isRelation())
{
reportTypeError("The argument to '~' must be a relation",
m_postfixFunctionName.m_token,
specObject,
property
);
return new AstType();
}
AstType rtype = new AstType(AstType.TYPE_SET);
rtype.m_setType = new AstType(AstType.TYPE_TUPLE);
rtype.m_setType.newTuple((AstType) type.m_setType.m_tupleTypes.get(1),
(AstType) type.m_setType.m_tupleTypes.get(0)
);
return rtype;
}
if ((m_postfixFunctionName.m_token.m_id == TozeTokenizer.TOKEN_TCL)
|| (m_postfixFunctionName.m_token.m_id == TozeTokenizer.TOKEN_RTCL))
{
if (!type.isRelation())
{
reportTypeError(
"The argument to '" + m_postfixFunctionName.m_token.m_value + "' must be a relation",
m_postfixFunctionName.m_token,
specObject,
property
);
return new AstType();
}
}
return type;
}
}
public class AstParenX extends AstExpression
{
public AstParenX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void print(int l)
{
print(l, "Parenthesis");
super.print(l + 1);
}
}
public class AstLambdaX extends AstExpression
{
AstSchemaText m_schemaText;
AstExpression m_expression;
public AstLambdaX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void print(int l)
{
print(l, "Lambda");
m_schemaText.print(l + 1);
m_expression.print(l + 1);
}
public void populateTypeTable(AstSymbolTable stable)
{
m_stable = stable;
m_schemaText.populateTypeTable(m_stable);
m_expression.populateTypeTable(m_stable);
}
public void populateSymbolTable()
{
m_schemaText.populateSymbolTable();
m_expression.populateSymbolTable();
}
public AstType getType()
{
m_schemaText.checkType();
List decls = m_schemaText.m_declaration.m_decls;
AstType ttype = new AstType(AstType.TYPE_TUPLE);
int i;
for (i = 0; i < decls.size(); i++)
{
if (decls.get(i) instanceof AstBasicDeclaration1)
{
AstBasicDeclaration1 dec = (AstBasicDeclaration1) decls.get(i);
List names = dec.m_declarationNameList.m_declarationNameList;
int j;
for (j = 0; j < names.size(); j++)
{
AstDeclarationName name = (AstDeclarationName) names.get(j);
AstType nt = m_stable.getType(name.getName());
ttype.m_tupleTypes.add(nt);
}
}
}
AstType et = m_expression.getType();
if (et.isUndefined())
{
return new AstType();
}
ttype.m_tupleTypes.add(et);
AstType type = new AstType(AstType.TYPE_SET);
type.m_setType = ttype;
return type;
}
}
public class AstMuX extends AstExpression
{
AstSchemaText m_schemaText;
AstExpression m_expression;
public AstMuX(SpecObject specObject, String property)
{
super(specObject, property);
}
}
public class AstLetX extends AstExpression
{
List m_letDefinitions = new ArrayList();
AstExpression m_expression;
public AstLetX(SpecObject specObject, String property)
{
super(specObject, property);
}
}
/*
* This class is a merging of a variable (V), Schema Reference (S), and
* class (C).
* This is done because sometimes it is not possible to know at the time of
* parsing whether something is either of the three.
*
* Word -> VSC
* Word, Decoration -> VS
* Word, ActualParameters -> VSC
* Word, RenameList -> SC
* Word, ActualParameters, RenameList -> SC
* Word, Decoration, ActualParameters -> VS
* Word, Decoration, RenameList -> S
* Word, Decoration, ActualParameters, RenameList -> S
*/
public class AstVSCX extends AstExpression
{
// The Word will be stored in the token in the base class.
AstDecorations m_decorations;
AstActualParameters m_actualParameters;
AstRenameList m_renameList;
public AstVSCX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void print(int l)
{
print(l, "VSC");
print(l + 1, m_token.m_value);
if (m_decorations != null)
{
m_decorations.print(l + 1);
}
if (m_actualParameters != null)
{
m_actualParameters.print(l + 1);
}
if (m_renameList != null)
{
m_renameList.print(l + 1);
}
}
public AstType getType()
{
AstType type = m_stable.getTypeDef(getName());
if (type == null)
{
type = m_stable.getType(getName());
if (type == null)
{
reportTypeError(getName() + " is undefined",
m_token,
specObject,
property
);
return new AstType();
}
if (type.isUndefined())
{
reportTypeError(getName() + " is undefined",
m_token,
specObject,
property
);
return new AstType();
}
}
return type;
}
public String getName()
{
if (m_decorations == null)
{
return m_token.m_value;
}
return m_token.m_value + m_decorations.getName();
}
}
public class AstSetExpressionX extends AstExpression
{
public AstSetExpressionX(SpecObject specObject, String property)
{
super(specObject, property);
}
}
public class AstSetExpressionX1 extends AstSetExpressionX
{
List m_expressions = new ArrayList();
public AstSetExpressionX1(SpecObject specObject, String property)
{
super(specObject, property);
}
public void print(int l)
{
int i;
print(l, "SetExpression");
for (i = 0; i < m_expressions.size(); i++)
{
((AstExpression) m_expressions.get(i)).print(l + 1);
}
}
public void populateTypeTable(AstSymbolTable stable)
{
m_stable = stable;
int i;
for (i = 0; i < m_expressions.size(); i++)
{
((AstBase) m_expressions.get(i)).populateTypeTable(m_stable);
}
}
public void populateSymbolTable()
{
int i;
for (i = 0; i < m_expressions.size(); i++)
{
((AstBase) m_expressions.get(i)).populateSymbolTable();
}
}
public AstType getType()
{
AstType type;
int i;
boolean wasUndefined = false;
//ttp
/*
* if (m_expressions.size() > 1)
* {
* AstType ttype = new AstType();
* ttype.m_type = AstType.TYPE_TUPLE;
* for (i=0; i<m_expressions.size(); i++)
* {
* type = ((AstBase)m_expressions.get(i)).getType();
* ttype.m_tupleTypes.add(type);
* if (type.isUndefined()) wasUndefined = true;
* }
* if (wasUndefined) return new AstType();
* type = new AstType(AstType.TYPE_SET);
* type.m_setType = ttype;
* }
* else if (m_expressions.size() == 1)
*/
if (m_expressions.size() != 0)
{
type = new AstType(AstType.TYPE_SET);
type.m_setType = ((AstBase) m_expressions.get(0)).getType();
if (type.m_setType.isUndefined())
{
return new AstType();
}
}
else
{
type = new AstType(AstType.TYPE_SET);
type.m_setType = new AstType(AstType.TYPE_EMPTY);
if (type.m_setType.isUndefined())
{
return new AstType();
}
}
return type;
}
}
public class AstSetExpressionX2 extends AstSetExpressionX
{
AstSchemaText m_schemaText;
AstExpression m_expression;
public AstSetExpressionX2(SpecObject specObject, String property)
{
super(specObject, property);
}
public void print(int l)
{
print(l, "SetExpression");
if (m_schemaText != null)
{
m_schemaText.print(l + 1);
}
m_expression.print(l + 1);
}
public void populateTypeTable(AstSymbolTable stable)
{
m_stable = new AstSymbolTable(stable);
stable.addKid(m_stable);
if (m_schemaText != null)
{
m_schemaText.populateTypeTable(m_stable);
}
if (m_expression != null)
{
m_expression.populateTypeTable(m_stable);
}
}
public void populateSymbolTable()
{
if (m_schemaText != null)
{
m_schemaText.populateSymbolTable();
}
if (m_expression != null)
{
m_expression.populateSymbolTable();
}
}
public AstType getType()
{
if (m_schemaText != null)
{
m_schemaText.checkType();
}
if (m_expression == null)
{
return m_schemaText.getType();
}
AstType type = new AstType(AstType.TYPE_SET);
type.m_setType = m_expression.getType();
if (type.m_setType.isUndefined())
{
return new AstType();
}
return type;
}
}
public class AstSetExpressionX3 extends AstSetExpressionX
{
public AstSetExpressionX3(SpecObject specObject, String property)
{
super(specObject, property);
}
public void print(int l)
{
print(l, "SetExpression - " + m_token.m_value);
}
public AstType getType()
{
AstType type = new AstType();
if (m_token.m_id == TozeTokenizer.TOKEN_NAT)
{
return m_stable.getTypeDef(m_token.m_value);
}
else if (m_token.m_id == TozeTokenizer.TOKEN_NATONE)
{
return m_stable.getTypeDef(m_token.m_value);
}
else if (m_token.m_id == TozeTokenizer.TOKEN_INTEGER)
{
return m_stable.getTypeDef(m_token.m_value);
}
else if (m_token.m_id == TozeTokenizer.TOKEN_REAL)
{
return m_stable.getTypeDef(m_token.m_value);
}
else if (m_token.m_id == TozeTokenizer.TOKEN_BOOL)
{
return m_stable.getTypeDef(m_token.m_value);
}
return m_stable.getTypeDef(m_token.m_value);
}
}
public class AstSequenceX extends AstExpression
{
List m_expressions = new ArrayList();
public AstSequenceX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void print(int l)
{
print(l, "Sequence");
}
public void populateTypeTable(AstSymbolTable stable)
{
m_stable = stable;
int i;
for (i = 0; i < m_expressions.size(); i++)
{
((AstBase) m_expressions.get(i)).populateTypeTable(m_stable);
}
}
public void populateSymbolTable()
{
int i;
for (i = 0; i < m_expressions.size(); i++)
{
((AstBase) m_expressions.get(i)).populateSymbolTable();
}
}
public AstType getType()
{
int i;
boolean wasUndefined = false;
AstType type = new AstType(AstType.TYPE_SEQUENCE);
if (m_expressions.size() == 0)
{
type.m_setType = new AstType(AstType.TYPE_EMPTY);
return type;
}
AstType stype = ((AstBase) m_expressions.get(0)).getType();
if (stype.isUndefined())
{
return new AstType();
}
for (i = 1; i < m_expressions.size(); i++)
{
AstType ttype = ((AstBase) m_expressions.get(i)).getType();
if (ttype.isUndefined())
{
wasUndefined = true;
}
else
{
if (!ttype.isEqual(stype))
{
reportTypeError("All expressions of a sequence must be of the same type",
m_token,
specObject,
property
);
}
}
}
if (wasUndefined)
{
return new AstType();
}
AstType rtype = new AstType(AstType.TYPE_SEQUENCE);
rtype.m_setType = new AstType(AstType.TYPE_TUPLE);
rtype.m_setType.newTuple(new AstType(AstType.TYPE_NATURAL1),
stype
);
rtype.m_setType.m_tupleIsSeq = true;
return rtype;
}
}
public class AstBuiltInFunctionX extends AstUnaryOpX
{
public AstBuiltInFunctionX(SpecObject specObject, String property)
{
super(specObject, property);
}
public AstType getType()
{
AstType type = m_expression.getType();
if (type.isUndefined())
{
return new AstType();
}
if (m_token.m_id == TozeTokenizer.TOKEN_DOM)
{
if (type.getType() != AstType.TYPE_SET)
{
reportTypeError("The argument to the function 'dom' must be a set of tuples",
m_token,
specObject,
property
);
return new AstType();
}
if (type.getSetType().getType() != AstType.TYPE_TUPLE)
{
reportTypeError("The argument to the function 'dom' must be a set of tuples",
m_token,
specObject, property
);
return new AstType();
}
if (type.getSetType().m_tupleTypes.size() != 2)
{
reportTypeError("The argument to the function 'dom' must be a tuple of size 2",
m_token,
specObject,
property
);
return new AstType();
}
AstType rtype = new AstType(AstType.TYPE_SET);
rtype.m_setType = (AstType) type.getSetType().m_tupleTypes.get(0);
return rtype;
}
if (m_token.m_id == TozeTokenizer.TOKEN_RAN)
{
if (type.getType() != AstType.TYPE_SET)
{
reportTypeError("The argument to the function 'ran' must be a set of tuples",
m_token,
specObject,
property
);
return new AstType();
}
if (type.getSetType().getType() != AstType.TYPE_TUPLE)
{
reportTypeError("The argument to the function 'ran' must be a set of tuples",
m_token,
specObject,
property
);
return new AstType();
}
if (type.getSetType().m_tupleTypes.size() != 2)
{
reportTypeError("The argument to the function 'ran' must be a tuple of size 2",
m_token,
specObject,
property
);
return new AstType();
}
AstType rtype = new AstType(AstType.TYPE_SET);
rtype.m_setType = (AstType) type.getSetType().m_tupleTypes.get(1);
return rtype;
}
if (m_token.m_id == TozeTokenizer.TOKEN_REV)
{
if (type.getType() != AstType.TYPE_SEQUENCE)
{
reportTypeError("The argument to the function 'rev' must be a sequence",
m_token,
specObject,
property
);
return new AstType();
}
return type;
}
if (m_token.m_id == TozeTokenizer.TOKEN_HEAD)
{
if (type.getType() != AstType.TYPE_SEQUENCE)
{
reportTypeError("The argument to the function 'head' must be a sequence",
m_token,
specObject,
property
);
return new AstType();
}
return (AstType) type.getSetType().m_tupleTypes.get(1);
// return type.m_setType;
}
if (m_token.m_id == TozeTokenizer.TOKEN_LAST)
{
if (type.getType() != AstType.TYPE_SEQUENCE)
{
reportTypeError("The argument to the function 'last' must be a sequence",
m_token,
specObject,
property
);
return new AstType();
}
return (AstType) type.getSetType().m_tupleTypes.get(1);
// return type.m_setType;
}
if (m_token.m_id == TozeTokenizer.TOKEN_TAIL)
{
if (type.getType() != AstType.TYPE_SEQUENCE)
{
reportTypeError("The argument to the function 'tail' must be a sequence",
m_token,
specObject,
property
);
return new AstType();
}
return type;
}
if (m_token.m_id == TozeTokenizer.TOKEN_FRONT)
{
if (type.getType() != AstType.TYPE_SEQUENCE)
{
reportTypeError("The argument to the function 'front' must be a sequence",
m_token,
specObject,
property
);
return new AstType();
}
return type;
}
if ((m_token.m_id == TozeTokenizer.TOKEN_FIRST)
|| (m_token.m_id == TozeTokenizer.TOKEN_SECOND))
{
if ((type.getType() != AstType.TYPE_TUPLE)
|| (type.m_tupleTypes.size() != 2))
{
reportTypeError("The argument to " + m_token.m_value + " must be a tuple of size 2",
m_token,
specObject,
property
);
return new AstType();
}
if (m_token.m_id == TozeTokenizer.TOKEN_FIRST)
{
return (AstType) type.m_tupleTypes.get(0);
}
return (AstType) type.m_tupleTypes.get(1);
}
if (m_token.m_id == TozeTokenizer.TOKEN_HASH)
{
if (!type.isSet() && !type.isSequence())
{
reportTypeError("Argument to '#' must be either a set or a sequence",
m_token,
specObject,
property
);
}
return new AstType(AstType.TYPE_NATURAL);
}
return new AstType();
}
}
public class AstFunctionX extends AstExpression
{
AstExpression m_fexpression;
AstExpression m_pexpression;
public AstFunctionX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void populateTypeTable(AstSymbolTable stable)
{
m_stable = stable;
m_fexpression.populateTypeTable(m_stable);
m_pexpression.populateTypeTable(m_stable);
}
public void populateSymbolTable()
{
m_fexpression.populateSymbolTable();
m_pexpression.populateSymbolTable();
}
public AstType getType()
{
AstType ftype = m_fexpression.getType();
AstType ptype = m_pexpression.getType();
if ((ftype.isUndefined())
|| (ptype.isUndefined()))
{
return new AstType();
}
/*
* Check the special case where it looks like an expression function
* but it is really where a single element of a sequence is being
* referenced.
*/
if (ftype.getType() == AstType.TYPE_SEQUENCE)
{
if (!ptype.isANumber())
{
reportTypeError("Subscript to a sequence must be a number",
m_token,
specObject,
property
);
}
return (AstType) ftype.getSetType().m_tupleTypes.get(1);
}
if ((ftype.getType() != AstType.TYPE_SET)
&& (ftype.getType() != AstType.TYPE_SEQUENCE))
{
reportTypeError("Expression used as a function must evaluate to a set of a tuple",
m_token,
specObject,
property
);
return new AstType();
}
if (ftype.getSetType().getType() != AstType.TYPE_TUPLE)
{
reportTypeError("Expression used as a function must evaluate to a tuple",
m_token,
specObject,
property
);
return new AstType();
}
if (ftype.getSetType().m_tupleTypes.size() < 2)
{
reportTypeError("The tuple must be a binary relation",
m_token,
specObject,
property
);
return new AstType();
}
//if (ptype.getType() == AstType.TYPE_TUPLE)
if (ptype.isTuple())
{
if ((ptype.m_tupleTypes.size() + 1) != ftype.m_setType.m_tupleTypes.size())
{
reportTypeError("Number of parameters for the function do not match definition.",
m_token,
specObject,
property
);
}
int i;
for (i = 0; i < ptype.m_tupleTypes.size(); i++)
{
AstType t1 = (AstType) ptype.m_tupleTypes.get(i);
AstType t2 = (AstType) ftype.m_setType.m_tupleTypes.get(i);
if (!t1.isCompatible(t2))
{
reportTypeError("Parameter " + (i + 1) + " does not match definition.",
m_token,
specObject,
property
);
}
}
}
else
{
if (!ptype.isEqual((AstType) ftype.getSetType().m_tupleTypes.get(0)))
{
reportTypeError("Parameter types do not match function parameters",
m_token,
specObject,
property
);
}
}
List vtmp = ftype.getSetType().m_tupleTypes;
return (AstType) vtmp.get(vtmp.size() - 1);
}
}
public class AstPredicateX extends AstExpression
{
AstPredicate m_predicate;
public AstPredicateX(SpecObject specObject, String property)
{
super(specObject, property);
}
public void populateTypeTable(AstSymbolTable stable)
{
m_stable = stable;
m_predicate.populateTypeTable(stable);
}
public void populateSymbolTable()
{
m_predicate.populateSymbolTable();
}
public AstType getType()
{
boolean bad = false;
return new AstType(AstType.TYPE_BOOL);
}
}
/*
* Infix, Postfix, Prefix
*/
public class AstPrefixGenericName extends AstBase
{
AstDecorations m_decoration;
public void print(int l)
{
print(l, "PrefixGenericName = " + m_token.m_value);
if (m_decoration != null)
{
m_decoration.print(l + 1);
}
}
}
public class AstInfixGenericName extends AstBase
{
AstDecorations m_decoration;
public void print(int l)
{
print(l, "InfixGenericName = " + getName());
if (m_decoration != null)
{
m_decoration.print(l + 1);
}
}
public String getName()
{
return m_token.m_value;
}
}
public class AstInfixFunctionName extends AstBase
{
AstDecorations m_decoration;
public void print(int l)
{
print(l, m_token.m_value);
if (m_decoration != null)
{
m_decoration.print(l + 1);
}
}
}
public class AstInfixRelationName extends AstBase
{
AstDecorations m_decoration;
public void print(int l)
{
print(l, "InfixRelationName = " + m_token.m_value);
if (m_decoration != null)
{
m_decoration.print(l + 1);
}
}
}
public class AstPrefixRelationName extends AstBase
{
public void print(int l)
{
print(l, "PrefixRelationName = " + getName());
}
public String getName()
{
return m_token.m_value;
}
}
public class AstPostfixFunctionName extends AstBase
{
AstDecorations m_decoration;
public void print(int l)
{
print(l, "PrefixFunctionName = " + m_token.m_value);
m_decoration.print(l + 1);
} |
0c15c792-32f7-4be6-a7dc-d2e1ccd9eba1 | public void setCustomText85(crmondemand.xml.customobject3.query.QueryType customText85) {
this.customText85 = customText85;
} |
792cd534-5151-4863-ae21-c972252dfaf6 | public void setBusinessPlanDescription(crmondemand.xml.opportunity.query.QueryType businessPlanDescription) {
this.businessPlanDescription = businessPlanDescription;
} |
5a5e2ec6-b6e6-43f2-86ef-234f441c9c7a | public void setInvtPeriodActiveFlg(java.lang.Boolean invtPeriodActiveFlg) {
this.invtPeriodActiveFlg = invtPeriodActiveFlg;
} |
01670250-afeb-443f-aff5-d9755cef07f7 | public java.math.BigDecimal getCustomNumber27() {
return this.customNumber27;
} |
1bb8068a-92bc-4a1c-96dc-b43b847dc51a | public java.lang.String getCandidateContactType() {
return this.candidateContactType;
} |
73dd9807-c464-410f-a4e0-7d28bbe72497 | public crmondemand.xml.customobject6.query.QueryType getCustomObject7Type() {
return this.customObject7Type;
} |
dedff467-5873-4590-b481-3089e4dcb030 | @Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (!super.equals(obj))
return false;
if (getClass() != obj.getClass())
return false;
LogoutEvent other = (LogoutEvent) obj;
if (user == null) {
if (other.user != null)
return false;
} else if (!user.equals(other.user))
return false;
return true;
} |
ca6e5fc9-817a-4dde-acfd-c074ff0babd4 | public crmondemand.xml.customobject6.query.QueryType getPolicyLineofBusiness() {
return this.policyLineofBusiness;
} |
ffe2cf08-ac0f-48a2-b6b9-7449bab6d500 | public java.lang.String getPolicyExternalSystemId()
{
return this.policyExternalSystemId;
} |
0190c6e0-18bf-456c-a95b-91c504598ee1 | public void setCustomNumber61(java.math.BigDecimal customNumber61) {
this.customNumber61 = customNumber61;
} |
91b2a43f-01b3-43f2-881e-b7420d3eae73 | public crmondemand.xml.contact.query.QueryType getCustomPickList87() {
return this.customPickList87;
} |
4f47f516-8335-49b4-920a-fcf2e7c6c0dc | public crmondemand.xml.opportunity.query.QueryType getCustomNumber38() {
return this.customNumber38;
} |
85a56cc5-a4e7-41cd-b0f6-580302dd8d4b | public void setCustomObject15ExternalSystemId(java.lang.String customObject15ExternalSystemId) {
this.customObject15ExternalSystemId = customObject15ExternalSystemId;
} |
4df8a6eb-3d26-42f9-9aeb-72da98dc0d87 | private void deliverTask(ArrayList<Object> currentTaskNode, City city) {
if( ((Task) currentTaskNode.get(0)).deliveryCity == city && (actionStates) currentTaskNode.get(1) == actionStates.PICKEDUP) {
currentTaskNode.set(1, actionStates.DELIVERED);
}
} |
dd564f2e-d37f-4a4b-8c3c-c1cfac115def | public crmondemand.xml.contact.query.QueryType getCustomDate59() {
return this.customDate59;
} |
0325c147-faa2-4b4b-bfe1-8601faf752ef | public void setOwnerFullName(java.lang.String ownerFullName) {
this.ownerFullName = ownerFullName;
} |
d9e53d13-1c33-4ec8-a3c8-ecce65bc06a2 | public final double getMaxValue() {
return null == maxValue ? _maxValue : maxValue.get();
} |
acbac137-69e1-4de2-a104-1876b904a22e | public void setCustomCurrency10(java.math.BigDecimal customCurrency10) {
this.customCurrency10 = customCurrency10;
} |
85deb659-294c-487c-b4d9-22102004c1e0 | public void setCustomText41(crmondemand.xml.contact.query.QueryType customText41) {
this.customText41 = customText41;
} |
3a4d471b-77f1-4a94-b4d8-2cef93af98d1 | public crmondemand.xml.customobject3.query.QueryType getCustomPhone13() {
return this.customPhone13;
} |
5da8ef23-f099-4a21-a4f2-af3758982b9a | public void setCustomObject3Name(java.lang.String customObject3Name) {
this.customObject3Name = customObject3Name;
} |
88438748-30f6-48e2-b4c6-a5405a730721 | public java.lang.String getCustomObject11IntegrationId() {
return this.customObject11IntegrationId;
} |
f18690cb-5e12-4b47-b69e-6bca810d1663 | public void setZCustomPickList26(java.lang.String zCustomPickList26) {
this.zCustomPickList26 = zCustomPickList26;
} |
2132b5ff-107f-463a-bdf9-7864c6b10d05 | public void setCustomNumber22(java.math.BigDecimal customNumber22) {
this.customNumber22 = customNumber22;
} |
3ab8d616-517a-480b-aebe-91a2ebe35364 | public java.math.BigDecimal getCustomCurrency20() {
return this.customCurrency20;
} |
870414de-72a6-42e2-aaa2-8475e9ac1cb8 | public static Class<?> getClass(String name, PackageType type) throws Exception {
return Class.forName(type + "." + name);
} |
04817708-90e4-43c8-8e89-2f4ecb6d0d10 | public void setCustomObject6Id(java.lang.String customObject6Id) {
this.customObject6Id = customObject6Id;
} |
c7aebf27-91cc-470a-ae21-61f78650a645 | public void setCustomDate44(java.util.Calendar customDate44) {
this.customDate44 = customDate44;
} |
15fb34c3-ccd8-4789-a698-a149dde8040c | public crmondemand.xml.opportunity.query.QueryType getCustomObject7Id() {
return this.customObject7Id;
} |
51e4327f-5eb7-4f48-8fc6-357e2576e7d6 | public void setCustomText38(crmondemand.xml.contact.query.QueryType customText38) {
this.customText38 = customText38;
} |
6a111597-fa64-461c-80e0-375d950ce272 | @Override
public void appletResize(int width, int height) { } |
64b73366-0e90-468d-8d1b-0d4331641d54 | public void setCustomInteger32(java.lang.Integer customInteger32) {
this.customInteger32 = customInteger32;
} |
5c26c3b4-850c-4938-9bfe-6c8e8fef7350 | public void setIndexedDate0(java.util.Calendar indexedDate0) {
this.indexedDate0 = indexedDate0;
} |
be6b7e66-d751-4d9a-a1c3-ea8884c7eac1 | public void setIndexedPick5(crmondemand.xml.customobject6.query.QueryType indexedPick5) {
this.indexedPick5 = indexedPick5;
} |
2af85a46-9e65-4ce6-901f-001e392cad78 | public void setCustomPickList0(java.lang.String customPickList0) {
this.customPickList0 = customPickList0;
} |
a1a0dc44-f3a6-4a01-9a76-00557ad58ca8 | public PyObject _Py_NoneStruct() {
try {
return (PyObject)BridJ.getNativeLibrary("python27").getSymbolPointer("_Py_NoneStruct").as(PyObject.class).get();
}catch (Throwable $ex$) {
throw new RuntimeException($ex$);
}
} |
b9f7c52f-7588-4785-b9d6-3432705fad64 | public void setCustomObject12Name(java.lang.String customObject12Name) {
this.customObject12Name = customObject12Name;
} |
b7a29d6f-1d77-4751-8f29-d3d0fc13a74b | public java.lang.String getCustomObject8Type() {
return this.customObject8Type;
} |
a9bde1f5-c828-41ed-a930-f29bde74b407 | @Override
public void actionPerformed(ActionEvent e) {
if(gt.getText().equalsIgnoreCase(gts))
{
gt.setForeground(cc);
gt.setBorder(null);
gt.setEditable(false);
}
else
{
gt.setForeground(wc);
}
} |
96604146-2ecb-4a96-a62d-2d8b1a45a707 | public void setCustomNumber15(crmondemand.xml.customobject3.query.QueryType customNumber15) {
this.customNumber15 = customNumber15;
} |
57e62602-9cbc-49eb-af8d-ab01638967ce | public java.util.Calendar getCustomDate28() {
return this.customDate28;
} |
58646fb5-0303-45dd-b2f8-86c68195d90f | public static void saveLog(String mess){
//ӡ̨
System.out.println(mess);
//浽ļ//////ӷʽ
File serviceLogFile = new File(Util.SERVICELOG);
try {
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(serviceLogFile, true)));
bw.write(mess+"\r\n");
bw.flush();
bw.close();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
} |
de167e04-7c5f-4f1d-9d8c-39225e0ed80f | public void setCustomText14(java.lang.String customText14) {
this.customText14 = customText14;
} |
3d4558ef-890e-4692-8fb4-3afecbba000b | public void sex() {
System.out.println("ð˵ԱΪ....");
} |
93d5ea00-3a7b-4cd3-8d83-aa22ef6de2e1 | public void setCustomObject2ExternalSystemId(crmondemand.xml.customobject3.query.QueryType customObject2ExternalSystemId) {
this.customObject2ExternalSystemId = customObject2ExternalSystemId;
} |
8d9c1898-29fb-47c7-924b-c193edd18510 | /* */ public FeedPull1(String key)
/* */ {
/* 14 */ this.API_Key = key;
/* */ } |
4f0edbd1-6c2e-4aba-84bf-fbf0dc17edde | public void setCustomInteger33(java.lang.Integer customInteger33) {
this.customInteger33 = customInteger33;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.