text stringlengths 10 2.72M |
|---|
package c12.s01.t03;
import java.util.Stack;
import c12.s01.other.BinarySearchTree;
import c12.s01.other.BinarySearchTree.Node;
/**12.1-3
* @author he
*
*/
public class Tree {
public BinarySearchTree binarySearchTree=new BinarySearchTree(200);
private StringBuilder result=new StringBuilder();
/**
* inorderTreeWalkRecursion
*/
public String inorderTreeWalkRecursion() {
inorderTreeWalkRecursionInner(binarySearchTree.root);
return resetResult();
}
public void inorderTreeWalkRecursionInner(BinarySearchTree.Node node) {
if (node!=null) {
inorderTreeWalkRecursionInner(node.left);
processNode(node);
inorderTreeWalkRecursionInner(node.right);
}
}
/** inorderTreeWalk not Recursion
* @return
*/
public String inorderTreeWalkLoop() {
Stack<Node> stack=new Stack<Node>();
Node node=binarySearchTree.root;
stack.push(node);
while(!stack.isEmpty()){
//push cur node all left node
for (Node left=node.left;left!=null;left=left.left) {
stack.push(left);
}
// pop until has right node
while(!stack.isEmpty()){
Node pop=stack.pop();
processNode(pop);
if (pop.right!=null) {
node=pop.right;
stack.push(node);
break;
}
}
}
return resetResult();
}
/** inorderTreeWalk not Recursion not use
* stack
* @return
*/
public String inorderTreeWalkLoopNotStack() {
Node node=binarySearchTree.root;
while (node!=null) {
Node mostLeft=node;
while (mostLeft.left!=null) {
mostLeft=mostLeft.left;
}
processNode(mostLeft);
if (mostLeft==binarySearchTree.root) {
node=node.right;
continue;
}
if (mostLeft.right!=null) {
node=mostLeft.right;
continue;
}
while(mostLeft.parent!=null){
if (mostLeft==mostLeft.parent.left) {
processNode(mostLeft.parent);
if (mostLeft.parent.right!=null) {
node=mostLeft.parent.right;
break;
}
}else if (mostLeft==mostLeft.parent.right) {
if (mostLeft.parent==binarySearchTree.root) {
node=null;
break;
}
}
mostLeft=mostLeft.parent;
}
}
return resetResult();
}
private void processNode(BinarySearchTree.Node node) {
result.append(node.element+",");
}
private String resetResult() {
StringBuilder before=result;
result=new StringBuilder();
return before.toString();
}
}
|
/**
*/
package contain.impl;
import contain.ContainFactory;
import contain.ContainPackage;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
* @generated
*/
public class ContainPackageImpl extends EPackageImpl implements ContainPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass eEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass e1EClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass e2EClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass e3EClass = null;
/**
* Creates an instance of the model <b>Package</b>, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
* <p>Note: the correct way to create the package is via the static
* factory method {@link #init init()}, which also performs
* initialization of the package, or returns the registered package,
* if one already exists.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see contain.ContainPackage#eNS_URI
* @see #init()
* @generated
*/
private ContainPackageImpl() {
super(eNS_URI, ContainFactory.eINSTANCE);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
*
* <p>This method is used to initialize {@link ContainPackage#eINSTANCE} when that field is accessed.
* Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static ContainPackage init() {
if (isInited) return (ContainPackage)EPackage.Registry.INSTANCE.getEPackage(ContainPackage.eNS_URI);
// Obtain or create and register package
ContainPackageImpl theContainPackage = (ContainPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ContainPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ContainPackageImpl());
isInited = true;
// Create package meta-data objects
theContainPackage.createPackageContents();
// Initialize created meta-data
theContainPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theContainPackage.freeze();
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(ContainPackage.eNS_URI, theContainPackage);
return theContainPackage;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getE() {
return eEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getE_Name() {
return (EAttribute)eEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getE1() {
return e1EClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getE1_Elements() {
return (EReference)e1EClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getE2() {
return e2EClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getE3() {
return e3EClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ContainFactory getContainFactory() {
return (ContainFactory)getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private boolean isCreated = false;
/**
* Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void createPackageContents() {
if (isCreated) return;
isCreated = true;
// Create classes and their features
eEClass = createEClass(E);
createEAttribute(eEClass, E__NAME);
e1EClass = createEClass(E1);
createEReference(e1EClass, E1__ELEMENTS);
e2EClass = createEClass(E2);
e3EClass = createEClass(E3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private boolean isInitialized = false;
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void initializePackageContents() {
if (isInitialized) return;
isInitialized = true;
// Initialize package
setName(eNAME);
setNsPrefix(eNS_PREFIX);
setNsURI(eNS_URI);
// Create type parameters
// Set bounds for type parameters
// Add supertypes to classes
e2EClass.getESuperTypes().add(this.getE());
e3EClass.getESuperTypes().add(this.getE());
// Initialize classes and features; add operations and parameters
initEClass(eEClass, contain.E.class, "E", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getE_Name(), ecorePackage.getEString(), "name", null, 1, 1, contain.E.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(e1EClass, contain.E1.class, "E1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getE1_Elements(), this.getE(), null, "elements", null, 0, -1, contain.E1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(e2EClass, contain.E2.class, "E2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(e3EClass, contain.E3.class, "E3", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
// Create resource
createResource(eNS_URI);
}
} //ContainPackageImpl
|
package com.duanxr.yith.easy;
import java.util.HashMap;
import java.util.Map;
/**
* @author 段然 2021/3/8
*/
public class LongestPalindrome {
/**
* Given a string s which consists of lowercase or uppercase letters, return the length of the longest palindrome that can be built with those letters.
*
* Letters are case sensitive, for example, "Aa" is not considered a palindrome here.
*
*
*
* Example 1:
*
* Input: s = "abccccdd"
* Output: 7
* Explanation:
* One longest palindrome that can be built is "dccaccd", whose length is 7.
* Example 2:
*
* Input: s = "a"
* Output: 1
* Example 3:
*
* Input: s = "bb"
* Output: 2
*
*
* Constraints:
*
* 1 <= s.length <= 2000
* s consists of lowercase and/or uppercase English letters only.
*
* 给定一个包含大写字母和小写字母的字符串,找到通过这些字母构造成的最长的回文串。
*
* 在构造过程中,请注意区分大小写。比如 "Aa" 不能当做一个回文字符串。
*
* 注意:
* 假设字符串的长度不会超过 1010。
*
* 示例 1:
*
* 输入:
* "abccccdd"
*
* 输出:
* 7
*
* 解释:
* 我们可以构造的最长的回文串是"dccaccd", 它的长度是 7。
*
*/
class Solution {
public int longestPalindrome(String s) {
Map<Character, Integer> map = new HashMap<>();
for (char c : s.toCharArray()) {
add(map, c);
}
int r = 0;
boolean hasSingle = false;
for (Map.Entry<Character, Integer> entry : map.entrySet()) {
int n = entry.getValue();
if (n % 2 == 1) {
hasSingle = true;
}
r += n / 2;
}
r = r << 1;
if (hasSingle) {
r++;
}
return r;
}
private void add(Map<Character, Integer> map, char c) {
if (map.containsKey(c)) {
map.put(c, map.get(c) + 1);
} else {
map.put(c, 1);
}
}
}
}
|
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Aluno
*/
public class Gerente extends Funcionario{
private double desempenho = 0.02;
public Gerente(String nome, double horasTrabalhada, double salario) {
super(nome, horasTrabalhada, salario);
}
public double calcularSalario(){
return super.calcularSalario()*(1+this.desempenho);
}
}
|
package com.ibeiliao.pay.common.utils.xls;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFDateUtil;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.springframework.util.Assert;
import java.io.*;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
/**
* 读取 XLS 文件
*
* @author liuying 2016年09月18日
*/
public class XlsFileReader {
/**
* 读取 excel 文件的第一列,返回 List,不会返回null。
*
* @param is - 输入流
* @return 第一列的所有内容
* @throws IOException - 读取错误抛出IO异常
*/
public static List<String> readFirstColumn(InputStream is) throws IOException {
POIFSFileSystem fs = new POIFSFileSystem(is);
HSSFWorkbook wb = new HSSFWorkbook(fs);
// 得到第一页 sheet
// 页Sheet是从0开始索引的
Sheet sheet = wb.getSheetAt(0);
// 利用foreach循环 遍历sheet中的所有行
List<String> list = new LinkedList<String>();
for (Row row : sheet) {
// 遍历row中的所有方格
Cell cell = row.getCell(0);
if (cell == null) {
break;
}
String content = null;
if (cell.getCellType() == HSSFCell.CELL_TYPE_NUMERIC) {
// 转成整数
content = String.valueOf(Math.round(cell.getNumericCellValue()));
} else if (cell.getCellType() == HSSFCell.CELL_TYPE_STRING) {
content = cell.getStringCellValue();
} else if (cell.getCellType() == HSSFCell.CELL_TYPE_FORMULA) {
content = cell.getCellFormula();
} else {
// ignore
continue;
}
if (StringUtils.isBlank(content)) {
break;
} else {
list.add(content.trim());
}
}
// 关闭输入流
wb.close();
return list;
}
/**
* 按行读取 excel文件的首个sheet,若单元格为null或者空,则用空字符串填充。
* @param is - 输入流
* @param maxColumnNum - 每行读取的列数目,默认从第一列开始读取
* @return excel文件每行内容的列表,比如第一行是【游戏,服务器】,第二行是【神魔三国, S1】
* @throws IOException - 读取错误抛出IO异常
*/
public static List<List<String>> readRows(InputStream is, int maxColumnNum)
throws IOException {
// 存储数据
List<List<String>> rowList = new ArrayList<List<String>>();
POIFSFileSystem fs = new POIFSFileSystem(is);
HSSFWorkbook wb = new HSSFWorkbook(fs);
// 得到第一页 sheet
// 页Sheet是从0开始索引的
Sheet sheet = wb.getSheetAt(0);
// 获取开始读取的行数
int rowStart =sheet.getFirstRowNum();
// 获取结束读取的行数
int rowEnd = sheet.getLastRowNum();
// 遍历sheet中的行
for (int rowNum = rowStart; rowNum <= rowEnd; rowNum++) {
// 单行数据的列表
List<String> datalist = new ArrayList<String>();
Row row = sheet.getRow(rowNum);
if(row == null) {
continue;
}
// 遍历row中的所有方格
for (int cn = 0; cn < maxColumnNum; cn++) {
// 默认的单元格内容为空
String content = "";
Cell cell = row.getCell(cn, Row.RETURN_BLANK_AS_NULL);
if (cell != null) {
if (cell.getCellType() == HSSFCell.CELL_TYPE_NUMERIC) {
content = String.valueOf(cell.getNumericCellValue());
}
else if (cell.getCellType() == HSSFCell.CELL_TYPE_STRING) {
content = cell.getRichStringCellValue().getString();
} else if (cell.getCellType() == HSSFCell.CELL_TYPE_FORMULA) {
content = cell.getCellFormula();
}
}
datalist.add(content.trim());
}
rowList.add(datalist);
}
// 关闭输入流
wb.close();
is.close();
return rowList;
}
/**
* 按行读取 excel文件的首个sheet,
* (1)若一行中有单元格为null,跳过该行;<br/>
* (2)所有值使用<strong>字符串处理</strong>;
* (3)数字使用整数;
*
* @param is - 输入流
* @param maxColumnNum - 每行读取的列数目,默认从第一列开始读取
* @param formatter - 日期格式化,如果为null,直接使用 java.util.Date.toString()
* @param headerKeyword - 标题行关键字,如果不为null,将检测标题行,并跳过
* @return excel文件每行内容的列表,比如第一行是【游戏,服务器】,第二行是【神魔三国, S1】
* @throws IOException - 读取错误抛出IO异常
*/
public static List<List<String>> readStringRows(InputStream is, int maxColumnNum,
SimpleDateFormat formatter, String headerKeyword) throws IOException {
// 存储数据
List<List<String>> rowList = new ArrayList<List<String>>();
POIFSFileSystem fs = new POIFSFileSystem(is);
HSSFWorkbook wb = new HSSFWorkbook(fs);
// 得到第一页 sheet
// 页Sheet是从0开始索引的
Sheet sheet = wb.getSheetAt(0);
// 获取开始读取的行数
int rowStart = sheet.getFirstRowNum();
// 获取结束读取的行数
int rowEnd = sheet.getLastRowNum();
// 遍历sheet中的行
for (int rowNum = rowStart; rowNum <= rowEnd; rowNum++) {
// 单行数据的列表
List<String> datalist = new ArrayList<String>();
Row row = sheet.getRow(rowNum);
if (row == null) {
continue;
}
// 遍历row中的所有方格
boolean isTitleRow = false;
boolean skipRow = false;
for (int cn = 0; cn < maxColumnNum; cn++) {
// 默认的单元格内容为空
String content = "";
Cell cell = row.getCell(cn, Row.RETURN_BLANK_AS_NULL);
if (cell != null) {
if (cell.getCellType() == HSSFCell.CELL_TYPE_NUMERIC) {
if (HSSFDateUtil.isCellDateFormatted(cell)) {
Date d = HSSFDateUtil.getJavaDate(cell.getNumericCellValue());
if (formatter == null) {
content = d.toString();
}
else {
content = formatter.format(d);
}
}
else {
content = new DecimalFormat("#").format(cell.getNumericCellValue());
}
} else if (cell.getCellType() == HSSFCell.CELL_TYPE_STRING) {
content = cell.getRichStringCellValue().getString();
} else if (cell.getCellType() == HSSFCell.CELL_TYPE_FORMULA) {
content = cell.getCellFormula();
}
if (headerKeyword != null) {
isTitleRow |= (content.indexOf(headerKeyword) >= 0);
}
}
else {
skipRow = true;
break;
}
datalist.add(content.trim());
}
if (!skipRow && isTitleRow == false) {
rowList.add(datalist);
}
}
// 关闭输入流
wb.close();
is.close();
return rowList;
}
/**
* 读取CSV文件
*
* @param is - InputStream
* @param minColumnNum - 最少读取多少列,少于这个列的不读取
* @param headerKeyword - 标题行关键字,如果不为null,将检测标题行,并跳过
* @return
* @throws IOException
*/
public static List<String[]> readCSV(InputStream is, int minColumnNum, String headerKeyword) throws IOException {
Assert.notNull(is, "InputStream不能为null");
Assert.isTrue(minColumnNum > 0, "maxColumnNum必须大于0");
BufferedReader br = null;
List<String[]> rowList = new LinkedList<String[]>();
try {
br = new BufferedReader(new InputStreamReader(is, "UTF-8"));
String rec = null;
while ((rec = br.readLine()) != null) {
if (headerKeyword != null && rec.indexOf(headerKeyword) >= 0) {
continue;
}
rec = rec.trim();
if (rec.length() > 0) {
String[] recList = rec.split(",");
if (recList.length >= minColumnNum) {
rowList.add(recList);
}
}
}
} finally {
if (br != null) {
IOUtils.closeQuietly(br);
} else {
IOUtils.closeQuietly(is);
}
}
return rowList;
}
public static void main(String[] args) throws IOException {
FileInputStream in = new FileInputStream("F:\\work\\2014\\2014-12月工作\\对账数据cvs格式举例-测试副本.xls");
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
List<List<String>> list = readStringRows(in, 5, sdf, "区服");
for (List<String> row : list) {
for (String s : row) {
System.out.print(s + "\t");
}
System.out.println();
}
}
}
|
package com.ybh.front.model;
public class Product_DomainWithBLOBs extends Product_Domain {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FreeHost_Product_Domain.postcon
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
private String postcon;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FreeHost_Product_Domain.fcon
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
private String fcon;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FreeHost_Product_Domain.retdns
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
private String retdns;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FreeHost_Product_Domain.idimg1
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
private byte[] idimg1;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column FreeHost_Product_Domain.idimg2
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
private byte[] idimg2;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FreeHost_Product_Domain.postcon
*
* @return the value of FreeHost_Product_Domain.postcon
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
public String getPostcon() {
return postcon;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FreeHost_Product_Domain.postcon
*
* @param postcon the value for FreeHost_Product_Domain.postcon
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
public void setPostcon(String postcon) {
this.postcon = postcon == null ? null : postcon.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FreeHost_Product_Domain.fcon
*
* @return the value of FreeHost_Product_Domain.fcon
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
public String getFcon() {
return fcon;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FreeHost_Product_Domain.fcon
*
* @param fcon the value for FreeHost_Product_Domain.fcon
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
public void setFcon(String fcon) {
this.fcon = fcon == null ? null : fcon.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FreeHost_Product_Domain.retdns
*
* @return the value of FreeHost_Product_Domain.retdns
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
public String getRetdns() {
return retdns;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FreeHost_Product_Domain.retdns
*
* @param retdns the value for FreeHost_Product_Domain.retdns
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
public void setRetdns(String retdns) {
this.retdns = retdns == null ? null : retdns.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FreeHost_Product_Domain.idimg1
*
* @return the value of FreeHost_Product_Domain.idimg1
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
public byte[] getIdimg1() {
return idimg1;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FreeHost_Product_Domain.idimg1
*
* @param idimg1 the value for FreeHost_Product_Domain.idimg1
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
public void setIdimg1(byte[] idimg1) {
this.idimg1 = idimg1;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column FreeHost_Product_Domain.idimg2
*
* @return the value of FreeHost_Product_Domain.idimg2
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
public byte[] getIdimg2() {
return idimg2;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column FreeHost_Product_Domain.idimg2
*
* @param idimg2 the value for FreeHost_Product_Domain.idimg2
*
* @mbg.generated Fri May 11 11:16:07 CST 2018
*/
public void setIdimg2(byte[] idimg2) {
this.idimg2 = idimg2;
}
} |
import Cefet.Persistence.PersistenceSingleton;
import Exercicio2b.controller.CadastroJpaController;
import Exercicio2b.model.Cadastro;
import javax.persistence.EntityManagerFactory;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author alunos
*/
public class Principal extends javax.swing.JFrame {
/**
* Creates new form Principal
*/
public Principal() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
Nome = new javax.swing.JLabel();
Data = new javax.swing.JLabel();
telefone = new javax.swing.JLabel();
endereco = new javax.swing.JLabel();
inputNome = new javax.swing.JTextField();
inputData = new javax.swing.JTextField();
inputTel = new javax.swing.JTextField();
inputEnd = new javax.swing.JTextField();
botaoAdicionar = new javax.swing.JButton();
botaoSalvar = new javax.swing.JButton();
botaoRemover = new javax.swing.JButton();
jScrollPane1 = new javax.swing.JScrollPane();
tableUsuarios = new javax.swing.JTable();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
Nome.setText("Nome:");
Data.setText("Datade Nascimento:");
telefone.setText("Telefone:");
endereco.setText("Endereço:");
botaoAdicionar.setText("Adicionar");
botaoAdicionar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botaoAdicionarActionPerformed(evt);
}
});
botaoSalvar.setText("Salvar");
botaoSalvar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botaoSalvarActionPerformed(evt);
}
});
botaoRemover.setText("Remover");
botaoRemover.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
botaoRemoverActionPerformed(evt);
}
});
tableUsuarios.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{"1", "1", "1", "1"},
{"2", "2", "2", "2"},
{"3", "3", "3", "3"},
{"4", "4", "4", "4"}
},
new String [] {
"Nome", "Data de Nascimento", "Telefone", "Endereço"
}
));
tableUsuarios.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
tableUsuariosMouseClicked(evt);
}
});
jScrollPane1.setViewportView(tableUsuarios);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(40, 40, 40)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addGroup(layout.createSequentialGroup()
.addComponent(endereco)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(inputEnd))
.addGroup(layout.createSequentialGroup()
.addComponent(telefone)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(inputTel, javax.swing.GroupLayout.PREFERRED_SIZE, 180, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(Data)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(inputData, javax.swing.GroupLayout.PREFERRED_SIZE, 142, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createSequentialGroup()
.addComponent(Nome)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(inputNome, javax.swing.GroupLayout.PREFERRED_SIZE, 354, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 904, Short.MAX_VALUE)
.addGroup(layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(botaoAdicionar)
.addGap(18, 18, 18)
.addComponent(botaoSalvar)
.addGap(18, 18, 18)
.addComponent(botaoRemover)))
.addGap(26, 26, 26))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(20, 20, 20)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(Nome)
.addComponent(inputNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(Data)
.addComponent(inputData, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(telefone)
.addComponent(inputTel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(endereco)
.addComponent(inputEnd, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(27, 27, 27)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(botaoAdicionar)
.addComponent(botaoSalvar)
.addComponent(botaoRemover))
.addGap(50, 50, 50)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 260, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(130, Short.MAX_VALUE))
);
pack();
}// </editor-fold>//GEN-END:initComponents
private void botaoSalvarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botaoSalvarActionPerformed
DefaultTableModel dtm = (DefaultTableModel) tableUsuarios.getModel();
tableUsuarios.getModel();
int rowSelected = tableUsuarios.getSelectedRow();
String nome = inputNome.getText();
String data =inputData.getText();
String tel = inputTel.getText();
String end = inputEnd.getText();
if (rowSelected == -1){
String valores[] = new String[] {nome, data, tel, end};
dtm.addRow(valores);
} else {
dtm.setValueAt(nome, rowSelected, 0);
dtm.setValueAt(data, rowSelected, 1);
dtm.setValueAt(tel, rowSelected, 2);
dtm.setValueAt(end, rowSelected, 3);
}
}//GEN-LAST:event_botaoSalvarActionPerformed
private void tableUsuariosMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_tableUsuariosMouseClicked
int row = tableUsuarios.rowAtPoint(evt.getPoint());
DefaultTableModel dtm = (DefaultTableModel) tableUsuarios.getModel();
inputNome.setText(dtm.getValueAt(row, 0).toString());
inputData.setText(dtm.getValueAt(row, 1).toString());
inputTel.setText(dtm.getValueAt(row, 2).toString());
inputEnd.setText(dtm.getValueAt(row, 3).toString());
}//GEN-LAST:event_tableUsuariosMouseClicked
private void botaoAdicionarActionPerformed(java.awt.event.ActionEvent evt) {
EntityManagerFactory ponte = PersistenceSingleton.getInstance().getEntityManagerFactory();
CadastroJpaController cadController = new CadastroJpaController (ponte);
Cadastro c1 = new Cadastro();
DefaultTableModel dtm = (DefaultTableModel) tableUsuarios.getModel();
String nome = inputNome.getText();
String data =inputData.getText();
String tel = inputTel.getText();
String end = inputEnd.getText();
c1.setNome(nome);
c1.setDataNasc(data);
c1.setTelefone(tel);
c1.setEndereco(end);
if ((!nome.equals("")) && (!data.equals("")) && (!tel.equals ("")) && (!end.equals(""))){
cadController.create(c1);
System.out.println(c1.toString());
String valores[] = new String[] {nome, data, tel, end};
dtm.addRow(valores);
}
else{
JOptionPane.showMessageDialog(this, "Há campo(s) em branco!");
}
}//GEN-LAST:event_botaoAdicionarActionPerformed
private void botaoRemoverActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botaoRemoverActionPerformed
DefaultTableModel dtm = (DefaultTableModel) tableUsuarios.getModel();
int rowSelected = tableUsuarios.getSelectedRow();
if(rowSelected == -1){
JOptionPane.showMessageDialog(this, "Não há linha selecionada");
}
else{
int resp=JOptionPane.showConfirmDialog(this, "Tem certeza que deseja remover esta linha?","Confirmação de opção", JOptionPane.YES_NO_OPTION);
if(resp==JOptionPane.YES_OPTION){
dtm.removeRow(rowSelected);
}
}
}//GEN-LAST:event_botaoRemoverActionPerformed
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(Principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(Principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(Principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(Principal.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Principal().setVisible(true);
}
});
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JLabel Data;
private javax.swing.JLabel Nome;
private javax.swing.JButton botaoAdicionar;
private javax.swing.JButton botaoRemover;
private javax.swing.JButton botaoSalvar;
private javax.swing.JLabel endereco;
private javax.swing.JTextField inputData;
private javax.swing.JTextField inputEnd;
private javax.swing.JTextField inputNome;
private javax.swing.JTextField inputTel;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable tableUsuarios;
private javax.swing.JLabel telefone;
// End of variables declaration//GEN-END:variables
}
|
package com.yhy.dataservices.dao;
import com.yhy.dataservices.entity.AirQuality;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface AirQualityDAO {
/**
* 获取空气质量数据的列表
* @return
*/
List<AirQuality> getAirQualityList(@Param("cityName")String cityName) ;
/**
* 删除一条空气质量数据
* @param id
* @return
*/
Boolean deleteAirQuality(Integer id);
/**
* 新增一条空气质量数据
* @param airQuality
* @return
*/
Boolean addAirQuality(AirQuality airQuality);
/**
* 根据ID获取空气质量数据
* @param id
* @return
*/
AirQuality getAirQualityById(Integer id);
/**
* 更新一条空气质量数据
* @param airQuality
* @return
*/
Boolean updateAirQuality(AirQuality airQuality);
}
|
package com.example.hp.dramaapp.Ayush;
import android.app.Activity;
import android.graphics.Color;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import com.example.hp.dramaapp.R;
public class adapterWordsListView extends ArrayAdapter<String>{
private final Activity context;
private final String[] web;
private final String[] web1;
//private final float[] web2;
public adapterWordsListView(Activity context,
String[] web, String[] web1) {
super(context, R.layout.adapter_layout_list1, web);
this.context = context;
this.web = web;
this.web1 = web1;
//this.web2 = web2;
}
@Override
public View getView(int position, View view, ViewGroup parent) {
LayoutInflater inflater = context.getLayoutInflater();
View rowView= inflater.inflate(R.layout.adapter_layout_list1, parent, false);
int color_id[]={Color.RED,Color.BLUE,Color.DKGRAY};
TextView txtTitle = (TextView) rowView.findViewById(R.id.textView1);
TextView txtTitle1 = (TextView) rowView.findViewById(R.id.textView2);
txtTitle.setText(web[position]);
txtTitle1.setText(web1[position]);
// float valueProb=Float.parseFloat(web1[position]);
// if(position>2) {
// if (valueProb > -300) {
// txtTitle.setTextColor(color_id[2]);
// txtTitle1.setTextColor(color_id[2]);
// } else if (valueProb > -400) {
// txtTitle.setTextColor(color_id[1]);
// txtTitle1.setTextColor(color_id[1]);
// } else {
// txtTitle.setTextColor(color_id[0]);
// txtTitle1.setTextColor(color_id[0]);
// }
// }
return rowView;
}
int randomWithRange(int min, int max)
{
int range = (max - min) + 1;
return (int)(Math.random() * range) + min;
}
}
|
package it.polimi.ingsw.GC_21.EFFECT;
import static org.junit.Assert.*;
import java.io.IOException;
import org.junit.Test;
import it.polimi.ingsw.GC_21.CLIENT.RmiClient;
import it.polimi.ingsw.GC_21.CONTROLLER.ControllerManager;
import it.polimi.ingsw.GC_21.GAMECOMPONENTS.PermanentLeaderCard;
import it.polimi.ingsw.GC_21.GAMECOMPONENTS.Possession;
import it.polimi.ingsw.GC_21.GAMECOMPONENTS.ResourceType;
import it.polimi.ingsw.GC_21.GAMECOMPONENTS.VictoryPoints;
import it.polimi.ingsw.GC_21.GAMEMANAGEMENT.Game;
import it.polimi.ingsw.GC_21.PLAYER.Color;
import it.polimi.ingsw.GC_21.PLAYER.Player;
import it.polimi.ingsw.GC_21.VIEW.RemoteView;
import it.polimi.ingsw.GC_21.VIEW.RmiAdapter;
import it.polimi.ingsw.GC_21.fx.ViewType;
public class VictoryPointsInfluencerTest {
@Test
public void testActivateEffectForEachWood() throws IOException {
Game testGame = new Game("Test");
RmiClient rmiClient = new RmiClient(ViewType.CLI);
RmiAdapter rmiAdapter = new RmiAdapter(rmiClient);
ControllerManager controllerManager = new ControllerManager();
RemoteView remoteView = new RemoteView(rmiAdapter, controllerManager);
testGame.attachCurrent(remoteView);
VictoryPointsInfluencer victoryPointsInfluencer = new VictoryPointsInfluencer(testGame, ResourceType.Woods, 1, 1, false);
Player testPlayer = new Player("test", Color.Blue, testGame);
testPlayer.getMyPersonalBoard().getMyPossession().addItemToPossession(new VictoryPoints(50));
victoryPointsInfluencer.activateEffect(testPlayer, null);
int actual = testPlayer.getMyPersonalBoard().getMyPossession().getVictoryPoints().getValue();
int expected = 50;
assertTrue(actual == expected);
}
@Test
public void testActivateEffectForEachResource() throws IOException {
Game testGame = new Game("Test");
RmiClient rmiClient = new RmiClient(ViewType.CLI);
RmiAdapter rmiAdapter = new RmiAdapter(rmiClient);
ControllerManager controllerManager = new ControllerManager();
RemoteView remoteView = new RemoteView(rmiAdapter, controllerManager);
testGame.attachCurrent(remoteView);
VictoryPointsInfluencer victoryPointsInfluencer = new VictoryPointsInfluencer(testGame, null, 1, 1, true);
Player testPlayer = new Player("test", Color.Blue, testGame);
testPlayer.getMyPersonalBoard().getMyPossession().add(new Possession(5, 5, 5, 5, 5, 5, 5));
testPlayer.getMyPersonalBoard().getMyPossession().addItemToPossession(new VictoryPoints(50));
victoryPointsInfluencer.activateEffect(testPlayer, null);
int actual = testPlayer.getMyPersonalBoard().getMyPossession().getVictoryPoints().getValue();
int expected = 35;
assertTrue(actual == expected);
}
}
|
package br.com.scd.demo.topic;
import br.com.scd.demo.api.topic.dto.TopicRequest;
public final class TopicForInsertFactory {
private TopicForInsertFactory() {
}
public static TopicForInsert getInstance(TopicRequest request) {
return new TopicForInsert(request.getSubject());
}
}
|
package com.legalzoom.api.test.OrdersServiceResponseParser;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
@Generated("org.jsonschema2pojo")
public class ProductConfiguration {
private Integer productConfigurationId;
private Integer productTypeId;
private Boolean shouldDisplayOnBill;
private ProductComponent productComponent;
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
/**
*
* @return
* The productConfigurationId
*/
public Integer getProductConfigurationId() {
return productConfigurationId;
}
/**
*
* @param productConfigurationId
* The productConfigurationId
*/
public void setProductConfigurationId(Integer productConfigurationId) {
this.productConfigurationId = productConfigurationId;
}
public ProductConfiguration withProductConfigurationId(Integer productConfigurationId) {
this.productConfigurationId = productConfigurationId;
return this;
}
/**
*
* @return
* The productTypeId
*/
public Integer getProductTypeId() {
return productTypeId;
}
/**
*
* @param productTypeId
* The productTypeId
*/
public void setProductTypeId(Integer productTypeId) {
this.productTypeId = productTypeId;
}
public ProductConfiguration withProductTypeId(Integer productTypeId) {
this.productTypeId = productTypeId;
return this;
}
/**
*
* @return
* The shouldDisplayOnBill
*/
public Boolean getShouldDisplayOnBill() {
return shouldDisplayOnBill;
}
/**
*
* @param shouldDisplayOnBill
* The shouldDisplayOnBill
*/
public void setShouldDisplayOnBill(Boolean shouldDisplayOnBill) {
this.shouldDisplayOnBill = shouldDisplayOnBill;
}
public ProductConfiguration withShouldDisplayOnBill(Boolean shouldDisplayOnBill) {
this.shouldDisplayOnBill = shouldDisplayOnBill;
return this;
}
/**
*
* @return
* The productComponent
*/
public ProductComponent getProductComponent() {
return productComponent;
}
/**
*
* @param productComponent
* The productComponent
*/
public void setProductComponent(ProductComponent productComponent) {
this.productComponent = productComponent;
}
public ProductConfiguration withProductComponent(ProductComponent productComponent) {
this.productComponent = productComponent;
return this;
}
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public ProductConfiguration withAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
return this;
}
} |
package com.company.current;
public class SynchronizedDemo {
public void method(){
synchronized (this){
System.out.println("demo");
}
}
}
|
package tw.skyarrow.ehreader.app.pref;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.View;
import android.widget.TextView;
import butterknife.ButterKnife;
import butterknife.Bind;
import tw.skyarrow.ehreader.R;
/**
* Created by SkyArrow on 2014/2/4.
*/
public class LoginPromptDialog extends DialogFragment {
@Bind(R.id.username)
TextView usernameText;
@Bind(R.id.password)
TextView passwordText;
public static final String TAG = "LoginPromptDialog";
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
View view = getActivity().getLayoutInflater().inflate(R.layout.dialog_login, null);
ButterKnife.bind(this, view);
builder.setTitle(R.string.login_title)
.setView(view)
.setPositiveButton(R.string.login_btn, null)
.setNegativeButton(R.string.cancel, null);
AlertDialog dialog = builder.create();
dialog.show();
dialog.getButton(DialogInterface.BUTTON_POSITIVE).setOnClickListener(onSubmitClick);
return dialog;
}
private View.OnClickListener onSubmitClick = new View.OnClickListener() {
@Override
public void onClick(View view) {
String username = usernameText.getText().toString();
String password = passwordText.getText().toString();
if (username.isEmpty()) {
usernameText.setError(getString(R.string.login_username_required));
return;
}
if (password.isEmpty()) {
passwordText.setError(getString(R.string.login_password_required));
return;
}
DialogFragment dialog = new LoginDialog();
Bundle args = new Bundle();
args.putString(LoginDialog.EXTRA_USERNAME, username);
args.putString(LoginDialog.EXTRA_PASSWORD, password);
dialog.setArguments(args);
dialog.show(getActivity().getSupportFragmentManager(), LoginDialog.TAG);
dismiss();
}
};
}
|
package array;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class Exercise01Test {
@Test
public void test_findElementsRepeat() {
assertEquals(new Exercise01().findElementsRepeat(new int[]{11, 2, 5, 3, 7, 2, 11}), "11 2 ");
assertEquals(new Exercise01().findElementsRepeat(new int[]{2, 5, 3, 7, 2, 7, 3, 2}), "2 3 7 ");
assertEquals(new Exercise01().findElementsRepeat(new int[]{}), "");
}
}
|
package com.fixit.ui.fragments;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.fixit.app.R;
import com.fixit.config.AppConfig;
import com.fixit.controllers.ActivityController;
/**
* Created by Kostyantin on 8/17/2017.
*/
public class AboutFragment extends BaseFragment<ActivityController> implements View.OnClickListener {
private String contactEmail;
private String versionInfo;
public static AboutFragment newInstance() {
return new AboutFragment();
}
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Context context = getContext();
contactEmail = AppConfig.getString(context, AppConfig.KEY_EMAIL_FOR_SUPPORT, "info@fixxit.co.za");
versionInfo = AppConfig.getVersionInfo(context).toString();
}
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
View v = inflater.inflate(R.layout.fragment_about, container, false);
setToolbar((Toolbar) v.findViewById(R.id.toolbar), true);
TextView tvContactUs = (TextView) v.findViewById(R.id.tv_contact_us_at);
tvContactUs.setText(getString(R.string.contact_us_at, contactEmail));
tvContactUs.setOnClickListener(this);
TextView tvVersion = (TextView) v.findViewById(R.id.tv_version);
tvVersion.setText(versionInfo);
tvVersion.setOnClickListener(this);
v.findViewById(R.id.tv_terms_conditions).setOnClickListener(this);
v.findViewById(R.id.tv_privacy_policy).setOnClickListener(this);
return v;
}
@Override
public void onClick(View v) {
switch (v.getId()) {
case R.id.tv_contact_us_at:
String[] addresses = new String[] {contactEmail};
String subject = getString(R.string.inquiry_from_app_version, versionInfo);
boolean emailComposed = composeEmail(addresses, subject);
if(!emailComposed) {
String label = getString(R.string.fixxit_contact_email);
copyToClipboard(label, contactEmail);
}
break;
case R.id.tv_version:
String label = getString(R.string.fixxit_version);
copyToClipboard(label, versionInfo);
break;
case R.id.tv_terms_conditions:
showStaticWebPage(
getString(R.string.terms_and_conditions),
AppConfig.getString(getContext(), AppConfig.KEY_TERMS_AND_CONDITIONS_URL, "")
);
break;
case R.id.tv_privacy_policy:
showStaticWebPage(
getString(R.string.privacy_policy),
AppConfig.getString(getContext(), AppConfig.KEY_PRIVACY_POLICY_URL, "")
);
break;
default:
throw new IllegalArgumentException("unsupported view click");
}
}
}
|
package adhoc.threads;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
// Same as adhoc.threads.MaxValue.java, but a sillier approach of making more state...(yay, bad practice)
// but in case one has to approach a rather state-bound written code written from someone else, might as well be not scared
public class MaxValueStaticInt {
private static int max;
private static final Object lock = new Object();
public static void main(String[] args) throws InterruptedException {
final long startTime = System.nanoTime();
for (int $ = 0; $ < 100000; $++) {
max = 0;
final int[] array = new int[1000];
Arrays.fill(array, new Random().nextInt(10000));
final int evenWorkPortion = array.length / 4;
final List<Thread> maxValueThreads = new ArrayList<>();
for (int i = 0; i < 4; i++) {
final int low = i * evenWorkPortion;
final int high = low + evenWorkPortion;
maxValueThreads.add(new Thread(() -> {
for (int j = low; j < high; j++) {
// bad performance, but necessary because Math.max is check then act
// there is a race condition on max even if it is AtomicInteger, because check then act
synchronized (lock) {
max = Math.max(array[j], max);
}
}
}));
}
for (int i = 0; i < 4; i++) {
maxValueThreads.get(i).start();
}
// When a thread terminates and causes a Thread.join in another thread to return,
// then all the statements executed by the terminated thread have a happens-before relationship with all the statements following the successful join.
// The effects of the code in the thread are now visible to the thread that performed the join.
for (int i = 0; i < 4; i++) {
maxValueThreads.get(i).join();
}
final int serialMax = Arrays.stream(array).max().getAsInt();
if (max != serialMax) {
throw new AssertionError("oops, sharedMax was " + max + " and serialMax was " + serialMax);
}
}
final long endTime = System.nanoTime();
System.out.println("took " + (endTime - startTime) + " that is " + (endTime - startTime + "").length() + " digits");
}
}
|
package com.smxknife.servlet.springboot.demo05;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletRequest;
/**
* @author smxknife
* 2020/2/10
*/
@RestController
public class Demo5Controller {
@Autowired
private RegEquipmentService regEquipmentService;
@RequestMapping("/idx")
public void index(HttpServletRequest request) {
System.out.println("index");
regEquipmentService.saveOrUpdate(null, request, 1, (short) 0);
}
@RequestMapping("save")
public String save(Object object) {
return "hahah success";
}
}
|
package com.tencent.mm.plugin.appbrand.r;
import android.os.Message;
import com.tencent.mm.plugin.appbrand.report.d;
final class f$b extends d {
final /* synthetic */ f gBG;
private f$b(f fVar) {
this.gBG = fVar;
}
/* synthetic */ f$b(f fVar, byte b) {
this(fVar);
}
public final void enter() {
super.enter();
f.a(this.gBG);
}
public final boolean j(Message message) {
if (1 != message.what && 2 != message.what) {
return super.j(message);
}
f.a(this.gBG);
return true;
}
public final String getName() {
return this.gBG.gBE + "|StateIdle";
}
}
|
package SUT.SE61.Team07.Controller;
import SUT.SE61.Team07.Entity.*;
import SUT.SE61.Team07.Repository.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import java.util.Collection;
import java.util.stream.Collectors;
@RestController
@CrossOrigin(origins = "http://localhost:4200")
class PartnersController {
PartnersRepository partnersrepository;
public PartnersController(PartnersRepository partnersrepository) {
this.partnersrepository = partnersrepository;
}
@GetMapping("/Partners-list")
public Collection<Partners> bloodTypeList() {
return partnersrepository.findAll().stream().collect(Collectors.toList());
}
}
|
package com.boshi.config;
import com.boshi.util.CookieUtils;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.StringUtils;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;
@Component
public class MyInterceptor implements HandlerInterceptor {
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
throws Exception {
if (StringUtils.isBlank(CookieUtils.getCookie(request, "code"))) {
// response.sendRedirect(request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath() + "module/views/login");
response.sendRedirect("/login");
return false;
}
return true;
}
@Override
public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,
ModelAndView modelAndView) throws Exception {
}
@Override
public void afterCompletion(HttpServletRequest request, HttpServletResponse response,
Object handler, Exception ex)
throws Exception {
}
}
|
package com.elvarg.engine.task.impl;
import java.util.ArrayList;
import java.util.List;
import com.elvarg.GameConstants;
import com.elvarg.definitions.ItemDefinition;
import com.elvarg.engine.task.Task;
import com.elvarg.world.content.ItemsKeptOnDeath;
import com.elvarg.world.content.PrayerHandler;
import com.elvarg.world.content.Presetables;
import com.elvarg.world.content.Dueling.DuelState;
import com.elvarg.world.entity.combat.CombatFactory;
import com.elvarg.world.entity.combat.bountyhunter.BountyHunter;
import com.elvarg.world.entity.combat.bountyhunter.Emblem;
import com.elvarg.world.entity.impl.player.Player;
import com.elvarg.world.grounditems.GroundItemManager;
import com.elvarg.world.model.Animation;
import com.elvarg.world.model.BrokenItem;
import com.elvarg.world.model.Flag;
import com.elvarg.world.model.GroundItem;
import com.elvarg.world.model.Item;
import com.elvarg.world.model.Locations.Location;
import com.elvarg.world.model.PlayerRights;
import com.elvarg.world.model.Position;
import com.elvarg.world.model.Priority;
import com.elvarg.world.model.Skill;
import com.elvarg.world.model.movement.MovementStatus;
/**
* Represents a player's death task, through which the process of dying is handled,
* the animation, dropping items, etc.
*
* @author relex lawl, redone by Gabbe.
*/
public class PlayerDeathTask extends Task {
/**
* The PlayerDeathTask constructor.
* @param player The player setting off the task.
*/
public PlayerDeathTask(Player player) {
super(1, player, false);
this.player = player;
this.killer = player.getCombat().getKiller(true);
this.oldPosition = player.getPosition().copy();
this.loc = player.getLocation();
this.dropItems = player.getLocation() == Location.WILDERNESS;
}
private final Player player, killer;
private final Position oldPosition;
private final Location loc;
private boolean dropItems;
private ArrayList<Item> itemsToKeep = null;
private int ticks = 5;
@Override
public void execute() {
if(player == null) {
stop();
return;
}
try {
switch (ticks) {
case 5:
player.getCombat().reset();
player.setUntargetable(true);
player.getPacketSender().sendInterfaceRemoval();
player.getMovementQueue().setMovementStatus(MovementStatus.DISABLED).reset();
break;
case 3:
player.performAnimation(new Animation(836, Priority.HIGH));
if(PrayerHandler.isActivated(player, PrayerHandler.RETRIBUTION)) {
if(killer != null) {
CombatFactory.handleRetribution(player, killer);
}
}
player.getPacketSender().sendMessage("Oh dear, you are dead!");
break;
case 1:
if(dropItems) {
//Get items to keep
itemsToKeep = ItemsKeptOnDeath.getItemsToKeep(player);
//Fetch player's items
final List<Item> playerItems = new ArrayList<Item>();
playerItems.addAll(player.getInventory().getValidItems());
playerItems.addAll(player.getEquipment().getValidItems());
//The position the items will be dropped at
final Position position = player.getPosition();
//Go through player items, drop them to killer
boolean dropped = false;
for (Item item : playerItems) {
//Keep tradeable items
if(!item.getDefinition().isTradeable() || itemsToKeep.contains(item)) {
if(!itemsToKeep.contains(item)) {
itemsToKeep.add(item);
}
continue;
}
//Dont drop spawnable items
if(item.getDefinition().getValue() == 0) {
continue;
}
//Don't drop items if we're owner or dev
if(player.getRights().equals(PlayerRights.OWNER) || player.getRights().equals(PlayerRights.DEVELOPER)) {
break;
}
//Drop emblems
if(item.getId() == Emblem.MYSTERIOUS_EMBLEM_1.id
|| item.getId() == Emblem.MYSTERIOUS_EMBLEM_2.id ||
item.getId() == Emblem.MYSTERIOUS_EMBLEM_3.id ||
item.getId() == Emblem.MYSTERIOUS_EMBLEM_4.id ||
item.getId() == Emblem.MYSTERIOUS_EMBLEM_5.id ||
item.getId() == Emblem.MYSTERIOUS_EMBLEM_6.id ||
item.getId() == Emblem.MYSTERIOUS_EMBLEM_7.id ||
item.getId() == Emblem.MYSTERIOUS_EMBLEM_8.id ||
item.getId() == Emblem.MYSTERIOUS_EMBLEM_9.id ||
item.getId() == Emblem.MYSTERIOUS_EMBLEM_10.id) {
//Tier 1 shouldnt be dropped cause it cant be downgraded
if(item.getId() == Emblem.MYSTERIOUS_EMBLEM_1.id) {
continue;
}
if(killer != null) {
final int lowerEmblem = item.getId() == Emblem.MYSTERIOUS_EMBLEM_2.id ? item.getId() - 2 : item.getId() - 1;
GroundItemManager.spawnGroundItem((killer != null ? killer : player), new GroundItem(new Item(lowerEmblem), position, killer != null ? killer.getUsername() : player.getUsername(), player.getHostAddress(), false, 150, true, 150));
killer.getPacketSender().sendMessage("@red@"+player.getUsername()+" dropped a "+ItemDefinition.forId(lowerEmblem).getName()+"!");
dropped = true;
}
continue;
}
//Drop item
GroundItemManager.spawnGroundItem((killer != null ? killer : player), new GroundItem(item, position, killer != null ? killer.getUsername() : player.getUsername(), player.getHostAddress(), false, 150, true, 150));
dropped = true;
}
//Give killer rewards
if(killer != null) {
if(!dropped) {
killer.getPacketSender().sendMessage(""+player.getUsername()+" had no valuable items to be dropped.");
}
BountyHunter.onDeath(killer, player);
}
//Reset items
player.getInventory().resetItems().refreshItems();
player.getEquipment().resetItems().refreshItems();
}
break;
case 0:
if(dropItems) {
if(itemsToKeep != null) {
for(Item it : itemsToKeep) {
int id = it.getId();
BrokenItem brokenItem = BrokenItem.get(id);
if(brokenItem != null) {
id = brokenItem.getBrokenItem();
player.getPacketSender().sendMessage("Your "+ItemDefinition.forId(it.getId()).getName()+" has been broken. You can fix it by talking to Perdu.");
}
player.getInventory().add(new Item(id, it.getAmount()));
}
itemsToKeep.clear();
}
} else {
if(player.getDueling().inDuel()) {
player.getDueling().duelLost();
}
}
player.restart(true);
loc.onDeath(player);
player.moveTo(GameConstants.DEFAULT_POSITION.copy());
if(player.isOpenPresetsOnDeath()) {
Presetables.open(player);
}
player.setUntargetable(false);
stop();
break;
}
ticks--;
} catch(Exception e) {
setEventRunning(false);
e.printStackTrace();
if(player != null) {
player.moveTo(GameConstants.DEFAULT_POSITION.copy());
player.setHitpoints(player.getSkillManager().getMaxLevel(Skill.HITPOINTS));
}
}
}
}
|
package org.openhab.support.knx2openhab.model;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import com.rtfparserkit.converter.text.StreamTextConverter;
import com.rtfparserkit.parser.RtfStreamSource;
public class RTFUtil
{
/**
* Extract comment as plain text string from RTF-Source
*
* @param rtf
* String containing RTF
* @return Plain Text
*/
public static String getRTF2PlainText(final String rtf)
{
if (rtf != null && rtf.length() > 0)
{
try (InputStream stream = new ByteArrayInputStream(rtf.getBytes()))
{
try (ByteArrayOutputStream outputStream = new ByteArrayOutputStream())
{
StreamTextConverter textConverter = new StreamTextConverter();
RtfStreamSource source = new RtfStreamSource(stream);
textConverter.convert(source, outputStream, StandardCharsets.UTF_8.name());
return outputStream.toString(StandardCharsets.UTF_8.name());
}
}
catch (IOException e)
{
throw new RuntimeException(e);
}
}
return null;
}
}
|
//20153015 박세희
public class PrimeNumber03 implements Runnable {
int number;
public PrimeNumber03(int number){ // 개수 지정
this.number = number;
}
public void run(){
int count;
System.out.println(Thread.currentThread().getName());
for (int i = 2; i <= this.number; i++){ // 소수 구하는 for문
count = 0;
for (int j=2; j<i; j++) {
if(i%j == 0)
count += 1; // 소수가 아님
}
if (count == 0)
System.out.print(i + " "); //소수 출력
}
}
}
|
//package recursion;
public class power {
public static void main(String [] args){
int n =2;
int pow=4;
System.out.println( power(n,pow));
}
public static int power(int n ,int pow){
if(pow==0){
return 1;
}
return n*power (n,pow-1);
}
} |
package vetores.exemplos;
import java.util.Scanner;
public class Exemplo3 {
public static void main(String[] args) {
Scanner entrada = new Scanner(System.in);
float[] arrayNumero = new float [10];
float soma = 0;
int i=0;
for(i=1;i<11;i++){
System.out.println("Digite o " +i+ "º número: " );
arrayNumero[i] = entrada.nextFloat();
soma = soma + arrayNumero[i];
}
System.out.println("A média dos 10 números é igual: " + soma/10);
entrada.close();
}
}
|
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package tolteco.sigma.model.dao;
import tolteco.sigma.model.dao.jdbc.JDBCDAOFactory;
/**
* Fábrica de DAOs.
* @author Juliano Felipe da Silva
*/
public abstract class DAOFactory {
public static final int SQLITE = 1;
public static final int JDBC = 2;
public static final int ARQUIVO = 3;
public static DAOFactory getDAOFactory(int opcao) {
switch (opcao ) {
case SQLITE : throw new UnsupportedOperationException("Não implementado");
case JDBC : return new JDBCDAOFactory();
case ARQUIVO: throw new UnsupportedOperationException("Não implementado");
default: return null;
}
}
public abstract ClienteDAO getClienteDAO();
public abstract FinancaDAO getFinancaDAO();
public abstract ServicoDAO getServicoDAO();
public abstract UsuarioDAO getUsuarioDAO();
public abstract VersionDAO getVersionDAO();
}
|
package com.lis2.leetcode;
import org.junit.Test;
import java.util.HashSet;
public class RemoveStones {
@Test
public void test() {
int[][] a = {{0,1},{1,0},{1,1}};
System.out.println(removeStones(a));
}
public int removeStones(int[][] stones) {
//不符合移除石头的最大数条件
HashSet<Integer> rowSet = new HashSet<>();
HashSet<Integer> colSet = new HashSet<>();
int len = stones.length;
int num = 0;
for (int i = 0; i <len ; i++) {
int row = stones[i][0];
int col = stones[i][1];
if (rowSet.contains(row) || colSet.contains(col)){
num++;
}
rowSet.add(row);
colSet.add(col);
}
return num;
}
}
|
/**
* OpenKM, Open Document Management System (http://www.openkm.com)
* Copyright (c) 2006-2015 Paco Avila & Josep Llort
*
* No bytes were intentionally harmed during the development of this application.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package com.openkm.frontend.client.bean;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import com.google.gwt.user.client.rpc.IsSerializable;
import com.openkm.frontend.client.bean.form.GWTFormElement;
/**
* @author jllort
*
*/
public class GWTFolder implements IsSerializable {
public static final String TYPE = "okm:folder";
private String parentPath;
private String path;
private String name;
private boolean hasChildren;
private Date created;
private String author;
private int permissions;
private boolean subscribed;
private String uuid;
private boolean hasNotes = false;
private List<GWTNote> notes;
private Set<GWTUser> subscriptors;
private Set<GWTFolder> categories;
private Set<String> keywords;
private GWTUser user;
// Extra columns
private GWTFormElement column0;
private GWTFormElement column1;
private GWTFormElement column2;
private GWTFormElement column3;
private GWTFormElement column4;
private GWTFormElement column5;
private GWTFormElement column6;
private GWTFormElement column7;
private GWTFormElement column8;
private GWTFormElement column9;
public void initMetadata(String fldPath, boolean hasChildren) {
setAuthor("");
setCategories(new HashSet<GWTFolder>());
setCreated(new Date());
setHasChildren(hasChildren);
setHasNotes(false);
setKeywords(new HashSet<String>());
setName(fldPath.substring(fldPath.lastIndexOf("/")+1));
setNotes(new ArrayList<GWTNote>());
setPath(fldPath);
setParentPath(fldPath.substring(0,fldPath.lastIndexOf("/")));
setPermissions(GWTPermission.READ);
setSubscribed(false);
setSubscriptors(new HashSet<GWTUser>());
setUuid("");
setUser(new GWTUser());
}
public void initMetadata(String fldPath, String name, boolean hasChilds) {
initMetadata(fldPath, hasChilds);
setName(name);
}
public Set<GWTUser> getSubscriptors() {
return subscriptors;
}
public void setSubscriptors(Set<GWTUser> subscriptors) {
this.subscriptors = subscriptors;
}
public boolean isHasChildren() {
return hasChildren;
}
public void setHasChildren(boolean hasChildren) {
this.hasChildren = hasChildren;
}
public String getParentPath() {
return parentPath;
}
public void setParentPath(String parentPath) {
this.parentPath = parentPath;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public void setCreated(Date created) {
this.created = created;
}
public Date getCreated() {
return created;
}
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public int getPermissions() {
return permissions;
}
public void setPermissions(int permissions) {
this.permissions = permissions;
}
public boolean isSubscribed() {
return subscribed;
}
public void setSubscribed(boolean subscribed) {
this.subscribed = subscribed;
}
public String getUuid() {
return uuid;
}
public void setUuid(String uuid) {
this.uuid = uuid;
}
public boolean isHasNotes() {
return hasNotes;
}
public void setHasNotes(boolean hasNotes) {
this.hasNotes = hasNotes;
}
public List<GWTNote> getNotes() {
return notes;
}
public void setNotes(List<GWTNote> notes) {
this.notes = notes;
}
public Set<GWTFolder> getCategories() {
return categories;
}
public void setCategories(Set<GWTFolder> categories) {
this.categories = categories;
}
public Set<String> getKeywords() {
return keywords;
}
public void setKeywords(Set<String> keywords) {
this.keywords = keywords;
}
public GWTUser getUser() {
return user;
}
public void setUser(GWTUser user) {
this.user = user;
}
public GWTFormElement getColumn0() {
return column0;
}
public void setColumn0(GWTFormElement column0) {
this.column0 = column0;
}
public GWTFormElement getColumn1() {
return column1;
}
public void setColumn1(GWTFormElement column1) {
this.column1 = column1;
}
public GWTFormElement getColumn2() {
return column2;
}
public void setColumn2(GWTFormElement column2) {
this.column2 = column2;
}
public GWTFormElement getColumn3() {
return column3;
}
public void setColumn3(GWTFormElement column3) {
this.column3 = column3;
}
public GWTFormElement getColumn4() {
return column4;
}
public void setColumn4(GWTFormElement column4) {
this.column4 = column4;
}
public GWTFormElement getColumn5() {
return column5;
}
public void setColumn5(GWTFormElement column5) {
this.column5 = column5;
}
public GWTFormElement getColumn6() {
return column6;
}
public void setColumn6(GWTFormElement column6) {
this.column6 = column6;
}
public GWTFormElement getColumn7() {
return column7;
}
public void setColumn7(GWTFormElement column7) {
this.column7 = column7;
}
public GWTFormElement getColumn8() {
return column8;
}
public void setColumn8(GWTFormElement column8) {
this.column8 = column8;
}
public GWTFormElement getColumn9() {
return column9;
}
public void setColumn9(GWTFormElement column9) {
this.column9 = column9;
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
sb.append("path=").append(path);
sb.append(", permissions=").append(permissions);
sb.append(", created=").append(created);
sb.append(", hasChildren=").append(hasChildren);
sb.append(", subscribed=").append(subscribed);
sb.append(", subscriptors=").append(subscriptors);
sb.append(", uuid=").append(uuid);
sb.append(", keywords=").append(keywords);
sb.append(", categories=").append(categories);
sb.append(", notes=").append(notes);
sb.append(", user=").append(user.getId());
sb.append(", username=").append(user.getUsername());
sb.append("}");
return sb.toString();
}
} |
/**
* Copyright (C) 2008 Happy Fish / YuQing
* <p>
* FastDFS Java Client may be copied only under the terms of the GNU Lesser
* General Public License (LGPL).
* Please visit the FastDFS Home Page http://www.csource.org/ for more detail.
**/
package org.csource.fastdfs;
import org.csource.common.IniFileReader;
import org.csource.common.FastdfsException;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
/**
* Global variables
*
* @author Happy Fish / YuQing
* @version Version 1.11
*/
public class ClientGlobal {
public static final String CONF_KEY_CONNECT_TIMEOUT = "connect_timeout";
public static final String CONF_KEY_NETWORK_TIMEOUT = "network_timeout";
public static final String CONF_KEY_CHARSET = "charset";
public static final String CONF_KEY_HTTP_ANTI_STEAL_TOKEN = "http.anti_steal_token";
public static final String CONF_KEY_HTTP_SECRET_KEY = "http.secret_key";
public static final String CONF_KEY_HTTP_TRACKER_HTTP_PORT = "http.tracker_http_port";
public static final String CONF_KEY_TRACKER_SERVER = "tracker_server";
public static final String PROP_KEY_CONNECT_TIMEOUT_IN_SECONDS = "fastdfs.connect_timeout_in_seconds";
public static final String PROP_KEY_NETWORK_TIMEOUT_IN_SECONDS = "fastdfs.network_timeout_in_seconds";
public static final String PROP_KEY_CHARSET = "fastdfs.charset";
public static final String PROP_KEY_HTTP_ANTI_STEAL_TOKEN = "fastdfs.http_anti_steal_token";
public static final String PROP_KEY_HTTP_SECRET_KEY = "fastdfs.http_secret_key";
public static final String PROP_KEY_HTTP_TRACKER_HTTP_PORT = "fastdfs.http_tracker_http_port";
public static final String PROP_KEY_TRACKER_SERVERS = "fastdfs.tracker_servers";
public static final int DEFAULT_CONNECT_TIMEOUT = 5; //second
public static final int DEFAULT_NETWORK_TIMEOUT = 30; //second
public static final String DEFAULT_CHARSET = "UTF-8";
public static final boolean DEFAULT_HTTP_ANTI_STEAL_TOKEN = false;
public static final String DEFAULT_HTTP_SECRET_KEY = "FastDFS1234567890";
public static final int DEFAULT_HTTP_TRACKER_HTTP_PORT = 80;
public static int connectTimeout = DEFAULT_CONNECT_TIMEOUT * 1000; //millisecond
public static int networkTimeout = DEFAULT_NETWORK_TIMEOUT * 1000; //millisecond
public static String charset = DEFAULT_CHARSET;
public static boolean antiStealToken = DEFAULT_HTTP_ANTI_STEAL_TOKEN; //if anti-steal token
public static String secretKey = DEFAULT_HTTP_SECRET_KEY; //generage token secret key
public static int trackerHttpPort = DEFAULT_HTTP_TRACKER_HTTP_PORT;
public static TrackerGroup trackerGroup;
private ClientGlobal() {
}
/**
* load global variables
*
* @param conf_filename config filename
* @throws IOException ioex
* @throws FastdfsException fastex
*/
public static void init(String conf_filename) throws IOException, FastdfsException {
IniFileReader iniReader;
String[] szTrackerServers;
String[] parts;
iniReader = new IniFileReader(conf_filename);
connectTimeout = iniReader.getIntValue("connect_timeout", DEFAULT_CONNECT_TIMEOUT);
if (connectTimeout < 0) {
connectTimeout = DEFAULT_CONNECT_TIMEOUT;
}
connectTimeout *= 1000; //millisecond
networkTimeout = iniReader.getIntValue("network_timeout", DEFAULT_NETWORK_TIMEOUT);
if (networkTimeout < 0) {
networkTimeout = DEFAULT_NETWORK_TIMEOUT;
}
networkTimeout *= 1000; //millisecond
charset = iniReader.getStrValue("charset");
if (charset == null || charset.length() == 0) {
charset = "ISO8859-1";
}
szTrackerServers = iniReader.getValues("tracker_server");
if (szTrackerServers == null) {
throw new FastdfsException("item \"tracker_server\" in " + conf_filename + " not found");
}
InetSocketAddress[] tracker_servers = new InetSocketAddress[szTrackerServers.length];
for (int i = 0; i < szTrackerServers.length; i++) {
parts = szTrackerServers[i].split("\\:", 2);
if (parts.length != 2) {
throw new FastdfsException("the value of item \"tracker_server\" is invalid, the correct format is host:port");
}
tracker_servers[i] = new InetSocketAddress(parts[0].trim(), Integer.parseInt(parts[1].trim()));
}
trackerGroup = new TrackerGroup(tracker_servers);
trackerHttpPort = iniReader.getIntValue("http.tracker_http_port", 80);
antiStealToken = iniReader.getBoolValue("http.anti_steal_token", false);
if (antiStealToken) {
secretKey = iniReader.getStrValue("http.secret_key");
}
}
/**
* load from properties file
*
* @param propsFilePath properties file path, eg:
* "fastdfs-client.properties"
* "config/fastdfs-client.properties"
* "/opt/fastdfs-client.properties"
* "C:\\Users\\James\\config\\fastdfs-client.properties"
* properties文件至少包含一个配置项 fastdfs.tracker_servers 例如:
* fastdfs.tracker_servers = 10.0.11.245:22122,10.0.11.246:22122
* server的IP和端口用冒号':'分隔
* server之间用逗号','分隔
* @throws IOException ioex
* @throws FastdfsException fastex
*/
public static void initByProperties(String propsFilePath) throws IOException, FastdfsException {
Properties props = new Properties();
InputStream in = IniFileReader.loadFromOsFileSystemOrClasspathAsStream(propsFilePath);
if (in != null) {
props.load(in);
}
initByProperties(props);
}
public static void initByProperties(Properties props) throws IOException, FastdfsException {
String trackerServersConf = props.getProperty(PROP_KEY_TRACKER_SERVERS);
if (trackerServersConf == null || trackerServersConf.trim().length() == 0) {
throw new FastdfsException(String.format("configure item %s is required", PROP_KEY_TRACKER_SERVERS));
}
initByTrackers(trackerServersConf.trim());
String connectTimeoutInSecondsConf = props.getProperty(PROP_KEY_CONNECT_TIMEOUT_IN_SECONDS);
String networkTimeoutInSecondsConf = props.getProperty(PROP_KEY_NETWORK_TIMEOUT_IN_SECONDS);
String charsetConf = props.getProperty(PROP_KEY_CHARSET);
String httpAntiStealTokenConf = props.getProperty(PROP_KEY_HTTP_ANTI_STEAL_TOKEN);
String httpSecretKeyConf = props.getProperty(PROP_KEY_HTTP_SECRET_KEY);
String httpTrackerHttpPortConf = props.getProperty(PROP_KEY_HTTP_TRACKER_HTTP_PORT);
if (connectTimeoutInSecondsConf != null && connectTimeoutInSecondsConf.trim().length() != 0) {
connectTimeout = Integer.parseInt(connectTimeoutInSecondsConf.trim()) * 1000;
}
if (networkTimeoutInSecondsConf != null && networkTimeoutInSecondsConf.trim().length() != 0) {
networkTimeout = Integer.parseInt(networkTimeoutInSecondsConf.trim()) * 1000;
}
if (charsetConf != null && charsetConf.trim().length() != 0) {
charset = charsetConf.trim();
}
if (httpAntiStealTokenConf != null && httpAntiStealTokenConf.trim().length() != 0) {
antiStealToken = Boolean.parseBoolean(httpAntiStealTokenConf);
}
if (httpSecretKeyConf != null && httpSecretKeyConf.trim().length() != 0) {
secretKey = httpSecretKeyConf.trim();
}
if (httpTrackerHttpPortConf != null && httpTrackerHttpPortConf.trim().length() != 0) {
trackerHttpPort = Integer.parseInt(httpTrackerHttpPortConf);
}
}
/**
* load from properties file
*
* @param trackerServers 例如:"10.0.11.245:22122,10.0.11.246:22122"
* server的IP和端口用冒号':'分隔
* server之间用逗号','分隔
* @throws IOException ioex
* @throws FastdfsException fastex
*/
public static void initByTrackers(String trackerServers) throws IOException, FastdfsException {
List<InetSocketAddress> list = new ArrayList();
String spr1 = ",";
String spr2 = ":";
String[] arr1 = trackerServers.trim().split(spr1);
for (String addrStr : arr1) {
String[] arr2 = addrStr.trim().split(spr2);
String host = arr2[0].trim();
int port = Integer.parseInt(arr2[1].trim());
list.add(new InetSocketAddress(host, port));
}
InetSocketAddress[] trackerAddresses = list.toArray(new InetSocketAddress[list.size()]);
initByTrackers(trackerAddresses);
}
public static void initByTrackers(InetSocketAddress[] trackerAddresses) throws IOException, FastdfsException {
trackerGroup = new TrackerGroup(trackerAddresses);
}
/**
* construct Socket object
*
* @param ip_addr ip address or hostname
* @param port port number
* @return connected Socket object
* @throws IOException ioex
*/
public static Socket getSocket(String ip_addr, int port) throws IOException {
Socket sock = new Socket();
sock.setSoTimeout(ClientGlobal.networkTimeout);
sock.connect(new InetSocketAddress(ip_addr, port), ClientGlobal.connectTimeout);
return sock;
}
/**
* construct Socket object
*
* @param addr InetSocketAddress object, including ip address and port
* @return connected Socket object
* @throws IOException ioex
*/
public static Socket getSocket(InetSocketAddress addr) throws IOException {
Socket sock = new Socket();
sock.setSoTimeout(ClientGlobal.networkTimeout);
sock.connect(addr, ClientGlobal.connectTimeout);
return sock;
}
public static int getConnectTimeout() {
return connectTimeout;
}
public static void setConnectTimeout(int connect_timeout) {
ClientGlobal.connectTimeout = connect_timeout;
}
public static int getNetworkTimeout() {
return networkTimeout;
}
public static void setNetworkTimeout(int network_timeout) {
ClientGlobal.networkTimeout = network_timeout;
}
public static String getCharset() {
return charset;
}
public static void setCharset(String charset) {
ClientGlobal.charset = charset;
}
public static int getTrackerHttpPort() {
return trackerHttpPort;
}
public static void setTrackerHttpPort(int tracker_http_port) {
ClientGlobal.trackerHttpPort = tracker_http_port;
}
public static boolean getAntiStealToken() {
return antiStealToken;
}
public static boolean isAntiStealToken() {
return antiStealToken;
}
public static void setAntiStealToken(boolean anti_steal_token) {
ClientGlobal.antiStealToken = anti_steal_token;
}
public static String getSecretKey() {
return secretKey;
}
public static void setSecretKey(String secret_key) {
ClientGlobal.secretKey = secret_key;
}
public static TrackerGroup getTrackerGroup() {
return trackerGroup;
}
public static void setTrackerGroup(TrackerGroup tracker_group) {
ClientGlobal.trackerGroup = tracker_group;
}
public static String configInfo() {
String trackerServers = "";
if (trackerGroup != null) {
InetSocketAddress[] trackerAddresses = trackerGroup.tracker_servers;
for (InetSocketAddress inetSocketAddress : trackerAddresses) {
if (trackerServers.length() > 0) {
trackerServers += ",";
}
trackerServers += inetSocketAddress.toString().substring(1);
}
}
return "{" + "\n connect_timeout(ms) = " + connectTimeout + "\n network_timeout(ms) = " + networkTimeout + "\n charset = " +
charset + "\n anti_steal_token = " + antiStealToken +
"\n secret_key = " + secretKey + "\n tracker_http_port = " + trackerHttpPort +
"\n trackerServers = " + trackerServers + "\n}";
}
}
|
package xyz.hinyari.bmcplugin.command;
import xyz.hinyari.bmcplugin.BMCConfig;
import xyz.hinyari.bmcplugin.BMCPlayer;
import xyz.hinyari.bmcplugin.utils.BMCUtils;
import xyz.hinyari.bmcplugin.BMCPlugin;
import xyz.hinyari.bmcplugin.rank.Rank;
import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import xyz.hinyari.bmcplugin.utils.BMCBoolean;
import xyz.hinyari.bmcplugin.utils.BMCHelp;
import xyz.hinyari.bmcplugin.event.ScoutEvent;
import xyz.hinyari.bmcplugin.utils.SpecialItem;
public class DebugCommand extends SubCommandAbst
{
public static final String COMMAND_NAME = "debug";
private final BMCPlugin plugin;
private final BMCHelp bmcHelp;
private final BMCBoolean bmcBoolean;
private final BMCUtils utils;
public DebugCommand(BMCPlugin plugin)
{
this.plugin = plugin;
this.bmcBoolean = plugin.bmcBoolean;
this.bmcHelp = plugin.bmcHelp;
this.utils = plugin.utils;
}
@Override
public String getCommandName()
{
return COMMAND_NAME;
}
@Override
public boolean runCommand(BMCPlayer bmcPlayer, String label, String[] args)
{
ItemStack item = bmcPlayer.getItemInMainHand();
Player player = bmcPlayer.getPlayer();
if (!(bmcPlayer.hasPermission("bmc.debug")))
{
return bmcPlayer.noperm();
}
if (args.length == 1)
return bmcHelp.Debughelp(bmcPlayer);
else if (args.length >= 2)
{
if (args[1].equalsIgnoreCase("itemhand"))
{
if (item.getType() != null && item.getType() != Material.AIR)
{
if (item.getItemMeta().getDisplayName() == null)
{
if (!(item.getDurability() == 0))
{
bmcPlayer.msg(item.getType().toString() + ", " + item.getDurability());
} else
{
bmcPlayer.msg(item.getType().toString() + ", " + "0");
}
} else
{
String displayname = item.getItemMeta().getDisplayName();
if (!(item.getDurability() == 0))
{
bmcPlayer.msg(item.getType().toString() + ", " + item.getDurability() + ", " + displayname);
} else
{
bmcPlayer.msg(item.getType().toString() + ", " + "0" + ", " + displayname);
}
}
return true;
} else
{
bmcPlayer.errmsg("手に何も持っていません。");
return true;
}
} else if (args[1].equalsIgnoreCase("rank"))
{
if (args[2].equalsIgnoreCase("reset"))
{
bmcPlayer.msg("スコアをリセットしました。");
bmcPlayer.getScoreboard().setRank(Rank.RED);
return true;
}
} else if (args[1].equalsIgnoreCase("kome"))
{
if (args[2].equalsIgnoreCase("hunger"))
{
player.addPotionEffect(new PotionEffect(PotionEffectType.HUNGER, 60, 100));
return true;
} else if (args[2].equalsIgnoreCase("get"))
{
player.getInventory().addItem(utils.getKoshihikari());
return true;
}
} else if (args[1].equalsIgnoreCase("namereset"))
{
player.setDisplayName(player.getName());
} else if (args[1].equalsIgnoreCase("ench"))
{
if (args.length == 2)
return DebugEnchCommandHelp(bmcPlayer);
ItemMeta meta = item.getItemMeta();
if (item.getType() != null && item.getTypeId() != 0)
{
if (args[2].equalsIgnoreCase("fall"))
{
if (item.getType() == Material.DIAMOND_BOOTS)
{
Enchantment ench = Enchantment.PROTECTION_FALL;
if (item.containsEnchantment(ench))
{
bmcPlayer.msg("Already item has " + ench.getName() + " Enchant!");
return false;
}
item.addUnsafeEnchantment(ench, 10);
bmcPlayer.msg("正常にエンチャントメントが実行されました。");
} else
{
bmcPlayer.msg("ダイヤモンドのブーツである必要があります。");
}
} else if (args[2].equalsIgnoreCase("fire"))
{
if (item.getType() == Material.DIAMOND_CHESTPLATE || item.getType() == Material.IRON_CHESTPLATE)
{
Enchantment ench = Enchantment.PROTECTION_FIRE;
if (item.containsEnchantment(ench))
{
bmcPlayer.msg("Already item has " + ench.getName() + " Enchant!");
return true;
}
item.addUnsafeEnchantment(ench, 10);
bmcPlayer.msg("正常にエンチャントメントが実行されました。");
return true;
} else
{
bmcPlayer.msg("ダイヤ・鉄のチェストプレートである必要があります。");
}
} else if (args[2].equalsIgnoreCase("smelt"))
{
if (meta.hasLore())
{
bmcPlayer.msg("このアイテムにエンチャントをつけることは出来ません。");
return false;
}
if (!(bmcBoolean.isApplyTool(item.getType())))
{
bmcPlayer.msg("このアイテムにエンチャントをつけることは出来ません。");
return false;
}
Enchantment ench = Enchantment.SILK_TOUCH;
if (item.containsEnchantment(ench))
{
bmcPlayer.msg("シルクタッチと一緒にすることは出来ません。");
return false;
}
item.setItemMeta(new SpecialItem(item, null, new String[]{
"&cAuto Smelt"
}).getItem().getItemMeta());
return true;
} else if (args[2].equalsIgnoreCase("unbreaking"))
{
if (args.length == 3)
{
bmcPlayer.errmsg("引数指定が間違っています。");
} else if (args.length == 4)
{
item.getItemMeta().addEnchant(Enchantment.DURABILITY, Integer.valueOf(args[3]), true);
player.updateInventory();
} else
{
bmcPlayer.errmsg("引数指定が間違っています。");
return true;
}
} else
return DebugEnchCommandHelp(bmcPlayer);
} else
{
bmcPlayer.msg("エンチャントしたいアイテムを手に持つ必要があります。");
}
} else if (args[1].equalsIgnoreCase("grapple"))
{
ScoutEvent.im.setDisplayName(ScoutEvent.GRAPPLE_NAME);
ScoutEvent.grappleItem.setItemMeta(ScoutEvent.im);
player.getInventory().addItem(ScoutEvent.grappleItem);
} else if (args[1].equalsIgnoreCase("toggle"))
{
BMCConfig config = plugin.config;
boolean b = !config.getDebug();
config.config.set("debug", b);
plugin.saveConfig();
config.reloadConfig(false);
bmcPlayer.msg("デバッグモードを " + b + " に変更しました");
} else
return bmcHelp.Debughelp(bmcPlayer);
}
return false;
}
private boolean DebugEnchCommandHelp(BMCPlayer bmcPlayer)
{
bmcPlayer.msg("Useful: " + "/plugin debug ench <fall/fire/smelt>");
return true;
}
}
|
package com.tencent.mm.plugin.emoji.f;
import com.tencent.mm.ab.b;
import com.tencent.mm.ab.b.a;
import com.tencent.mm.ab.e;
import com.tencent.mm.ab.l;
import com.tencent.mm.model.au;
import com.tencent.mm.network.k;
import com.tencent.mm.network.q;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.protocal.c.eq;
import com.tencent.mm.protocal.c.er;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.storage.aa;
import java.util.LinkedList;
import java.util.List;
public final class c extends l implements k {
public final b diG;
private e diJ;
public int eKI;
private List<String> iin;
public c(int i, List<String> list) {
a aVar = new a();
aVar.dIG = new eq();
aVar.dIH = new er();
aVar.uri = "/cgi-bin/micromsg-bin/mmbackupemojioperate";
aVar.dIF = 698;
aVar.dII = 0;
aVar.dIJ = 0;
this.diG = aVar.KT();
this.eKI = i;
this.iin = list;
}
public final void a(int i, int i2, int i3, String str, q qVar, byte[] bArr) {
x.i("MicroMsg.emoji.NetSceneBackupEmojiOperate", "errType:%d, errCode:%d", new Object[]{Integer.valueOf(i2), Integer.valueOf(i3)});
if (i3 == -434) {
x.w("MicroMsg.emoji.NetSceneBackupEmojiOperate", "[cpan] batch backup emoji failed. over size.");
au.HU();
com.tencent.mm.model.c.DT().a(aa.a.sOQ, Boolean.valueOf(true));
h.mEJ.a(164, 7, 1, false);
}
if (i2 == 0 && i3 == 0) {
au.HU();
com.tencent.mm.model.c.DT().a(aa.a.sOQ, Boolean.valueOf(false));
if (this.eKI == 1) {
h.mEJ.a(164, 5, 1, false);
} else {
h.mEJ.a(164, 8, 1, false);
}
} else if (this.eKI == 1) {
h.mEJ.a(164, 6, 1, false);
} else {
h.mEJ.a(164, 9, 1, false);
}
this.diJ.a(i2, i3, str, this);
}
public final int getType() {
return 698;
}
public final int a(com.tencent.mm.network.e eVar, e eVar2) {
this.diJ = eVar2;
eq eqVar = (eq) this.diG.dID.dIL;
eqVar.rfe = this.eKI;
eqVar.rfd = new LinkedList(this.iin);
if (eqVar.rfd == null || eqVar.rfd.size() <= 0) {
x.i("MicroMsg.emoji.NetSceneBackupEmojiOperate", "empty md5 list.");
} else {
x.i("MicroMsg.emoji.NetSceneBackupEmojiOperate", "do scene delte md5 list size:%s", new Object[]{Integer.valueOf(eqVar.rfd.size())});
for (int i = 0; i < eqVar.rfd.size(); i++) {
x.i("MicroMsg.emoji.NetSceneBackupEmojiOperate", "do scene delte md5:%s", new Object[]{eqVar.rfd.get(i)});
}
}
return a(eVar, this.diG, this);
}
}
|
package com.example.demo.service;
import com.example.demo.domain.Ylaoyuan;
import com.example.demo.domain.YlaoyuanPage;
import java.util.List;
public interface YlaoyuanService {
public List<Ylaoyuan> getYlaoyuan(YlaoyuanPage page);
public int getCount(YlaoyuanPage page);
public int addInfo(Ylaoyuan ylaoyuan);
public int deleteInfo(int id);
public int updateInfo(Ylaoyuan ylaoyuan);
}
|
package bdda;
public class PageId {
private int fileIdx;
private int pageIdx;
public PageId(int fileId, int pageId) {
this.fileIdx = fileId;
this.pageIdx = pageId;
}
public PageId() {
this.fileIdx = 0;
this.pageIdx = 0;
}
public int getFileIdx() {
return fileIdx;
}
public void setFileIdx(int fileIdx) {
this.fileIdx = fileIdx;
}
public int getPageIdx() {
return pageIdx;
}
public void setPageIdx(int pageIdx) {
this.pageIdx = pageIdx;
}
}
|
package com.outofmemory.entertainment.dissemination.game.scene.startmenu;
import com.outofmemory.entertainment.dissemination.engine.*;
import com.outofmemory.entertainment.dissemination.game.scene.main.MainScene;
import com.outofmemory.entertainment.dissemination.game.text.StartGameText;
public class StartMenuScene implements Scene {
@Override
public GameLoop buildLoop(IntellijContext intellijContext, GameExecutor gameExecutor) {
AnimationRegistry animationRegistry = new AnimationRegistry();
animationRegistry.parse("animation/text.xml");
Canvas canvas = new Canvas(intellijContext.editor, intellijContext.project);
Camera camera = new Camera(intellijContext.editor.getScrollingModel(), canvas);
GameObjectRegistry gameObjectRegistry = new GameObjectRegistry();
StartMenuSceneManager startMenuSceneManager = new StartMenuSceneManager(gameExecutor, new MainScene());
StartGameText startGameText = new StartGameText(camera, animationRegistry.get("game-start", "idle"));
gameObjectRegistry.add(startMenuSceneManager);
gameObjectRegistry.add(startGameText);
return new GameLoop(intellijContext.inputKey, canvas, camera, gameObjectRegistry);
}
}
|
package com.project.weiku.discover.adapter;
import android.content.Context;
import android.net.Uri;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.facebook.drawee.view.SimpleDraweeView;
import com.project.weiku.R;
import com.project.weiku.discover.model.CommentEntity;
import com.project.weiku.discover.model.MenuEntity;
import java.util.List;
/**
* Created by Administrator on 2016/3/14 0014.
*/
public class MenuAdapter extends BaseAdapter {
private List<MenuEntity.ResultEntity.ListEntity> mList;
private Context mContext;
private LayoutInflater mInflater;
public MenuAdapter(List<MenuEntity.ResultEntity.ListEntity> mList, Context context) {
this.mList = mList;
this.mContext = context;
mInflater = LayoutInflater.from(context);
}
@Override
public int getCount() {
return mList.size();
}
@Override
public Object getItem(int position) {
return mList.get(position);
}
@Override
public long getItemId(int position) {
return position;
}
@Override
public View getView(int position, View convertView, ViewGroup parent) {
ViewHolder holder;
if (convertView==null){
holder=new ViewHolder();
convertView=mInflater.inflate(R.layout.home_menu_adapter_item,null);
holder.svImage= (SimpleDraweeView) convertView.findViewById(R.id.sv_menu_image);
holder.tvMenuTitle= (TextView) convertView.findViewById(R.id.tv_menu_title);
holder.tvMenuView= (TextView) convertView.findViewById(R.id.tv_menu_view);
holder.tvMenuFavourite= (TextView) convertView.findViewById(R.id.tv_menu_favourite);
holder.tvMenuCooking= (TextView) convertView.findViewById(R.id.tv_menu_cooking);
convertView.setTag(holder);
}else {
holder = (ViewHolder) convertView.getTag();
}
holder.svImage.setImageURI(Uri.parse(mList.get(position).getImage()));
holder.tvMenuTitle.setText(mList.get(position).getTitle());
holder.tvMenuView.setText(mList.get(position).getView());
holder.tvMenuFavourite.setText(mList.get(position).getFavourite());
holder.tvMenuCooking.setText(mList.get(position).getCooking());
return convertView;
}
public static class ViewHolder {
SimpleDraweeView svImage;
TextView tvMenuTitle;
TextView tvMenuView;
TextView tvMenuFavourite;
TextView tvMenuCooking;
}
}
|
package com.example.demo.sendmail.domain.service.impl;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.mail.MailSendException;
import org.springframework.mail.MailSender;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.stereotype.Service;
import org.thymeleaf.context.Context;
import org.thymeleaf.spring5.SpringTemplateEngine;
import org.thymeleaf.templatemode.TemplateMode;
import org.thymeleaf.templateresolver.ClassLoaderTemplateResolver;
import com.example.demo.SendMailConfig;
import com.example.demo.sendmail.constants.RequestType;
import com.example.demo.sendmail.constants.constants;
import com.example.demo.sendmail.domain.model.Request;
import com.example.demo.sendmail.domain.model.Reservation;
import com.example.demo.sendmail.domain.model.Shop;
import com.example.demo.sendmail.domain.model.User;
import com.example.demo.sendmail.domain.repository.mybatis.ReservationMapper;
import com.example.demo.sendmail.domain.repository.mybatis.ShopMapper;
import com.example.demo.sendmail.domain.service.SendMailService;
import com.example.demo.sendmail.exception.ReservationNotFoundException;
import com.example.demo.sendmail.exception.UserNotFoundException;
import com.example.demo.sendmail.external.Secret;
@Service("SendMailServiceImpl")
public class SendMailServiceImpl implements SendMailService {
/* リクエスト */
protected Request request;
/* データ取得処理用 */
@Autowired
ReservationMapper reservationMapper;
@Autowired
ShopMapper shopMapper;
@Autowired
Secret secret;
@Autowired
SendMailConfig config;
// 予約情報
Reservation reservation;
// お店情報
Shop shop;
// ユーザ情報
User user;
/* メール送信処理用 */
@Autowired
private MailSender mailSender;
SpringTemplateEngine templateEngine;
ClassLoaderTemplateResolver templateResolver;
Context context;
// テンプレート名
private String templateName;
// 件名
private String mailSubject;
// メールボディ部
private String mailBody;
@Override
public boolean sendMail(Request request) throws Exception {
// リクエスト種別毎の初期処理
this.init(request);
// データ取得
this.getData();
// 出力内容設定
this.setContext();
// ボディ部取得
this.getMailBody();
// メール送信
//this.send();
return true;
}
/**
* リクエスト種別毎の初期処理
*/
private void init(Request request) {
// 初期化 コンストラクタでやらせるべき?Autowiredされたサービスをどう初期化すべきか要調査
this.request = request;
this.templateEngine = new SpringTemplateEngine();
this.templateResolver = new ClassLoaderTemplateResolver();
this.context = new Context();
switch (RequestType.valueOf(request.getType())) { // スマートな方法ありそうだが、とりあえずswitchで分岐
case USER_NEW: // ユーザ向け新規
this.templateName = "layout/user/new";
this.mailSubject = constants.MAIL_SUBJECT_USER_NEW;
break;
case USER_UPDATE: // ユーザ向け更新
this.templateName = "layout/user/update";
this.mailSubject = constants.MAIL_SUBJECT_USER_UPDATE;
break;
case USER_CANCEL: // ユーザ向けキャンセル
this.templateName = "layout/user/cancel";
this.mailSubject = constants.MAIL_SUBJECT_USER_CANCEL;
break;
case SHOP_NEW: // お店向け新規
this.templateName = "layout/shop/new";
this.mailSubject = constants.MAIL_SUBJECT_SHOP_NEW;
break;
case SHOP_UPDATE: // お店向け更新
this.templateName = "layout/shop/update";
this.mailSubject = constants.MAIL_SUBJECT_SHOP_UPDATE;
break;
case SHOP_CANCEL: // お店向けキャンセル
this.templateName = "layout/shop/cancel";
this.mailSubject = constants.MAIL_SUBJECT_SHOP_CANCEL;
break;
default:
// バリデーションを作った後は入らないはず Exceptionをthrow?
break;
}
}
/**
* データ取得
*/
private void getData() throws Exception {
// 予約情報取得
this.reservation = reservationMapper.select(request.getReservationId());
if (this.reservation == null) {
throw new ReservationNotFoundException();
}
System.out.println(this.reservation);
// お店情報取得
this.shop = shopMapper.select(reservation.getShopId());
if (this.shop == null) {
throw new ReservationNotFoundException();
}
System.out.println(this.shop);
// ユーザ情報取得
this.user = secret.getUser(this.reservation.getUserId());
if (this.user == null) {
throw new UserNotFoundException();
}
System.out.println(this.user);
}
/**
* 出力内容設定
*/
private void setContext() {
/* 予約情報 */
// 予約ID
this.context.setVariable("reservationId", this.reservation.getReservationId());
// 予約日
this.context.setVariable("reservationDate",
this.convertLocalDateTimeToString(this.reservation.getReservationStart(),
constants.DATE_FORMAT_YMD));
// 予約開始時間
this.context.setVariable("reservationStart",
this.convertLocalDateTimeToString(this.reservation.getReservationStart(),
constants.TIME_FORMAT_HM));
// 予約終了時間
this.context.setVariable("reservationEnd",
this.convertLocalDateTimeToString(this.reservation.getReservationEnd(),
constants.TIME_FORMAT_HM));
// 予約人数
this.context.setVariable("reservationNumber", this.reservation.getNumber());
// キャンセルメール判定
this.context.setVariable("isCancel", RequestType.isCancel(this.request.getType()));
/* お店情報 */
this.context.setVariable("shopName", this.shop.getName());
/* ユーザ情報 */
// ユーザ名
this.context.setVariable("userName", this.user.getName());
// 電話番号
this.context.setVariable("userTelephoneNumber", this.user.getTelephoneNumber());
/* その他 */
// ユーザ予約URL(FQDN部分は環境により分岐させるため、Configから取得)
String userReserveUrl = config.getUserReserveFQDN() + constants.USER_RESERVE_URL;
userReserveUrl += "?" + reservation.getReservationId(); //パラメータ追加
this.context.setVariable("userReserveUrl", userReserveUrl);
// ユーザ予約URL(FQDN部分は環境により分岐させるため、Configから取得)
String shopReserveUrl = config.getUserReserveFQDN() + constants.SHOP_RESERVE_URL;
shopReserveUrl += "?" + reservation.getReservationId(); //パラメータ追加
this.context.setVariable("shopReserveUrl", shopReserveUrl);
// Thymeleafサンプル(勉強用)
this.getSample();
}
/**
* ThymeleafSample
*/
private void getSample() {
this.templateName = "layout/sample";
this.context.setVariable("atai", "値");
this.context.setVariable("atai2", "値2");
this.context.setVariable("not_sanitize", "<br>");
this.context.setVariable("shin", true);
this.context.setVariable("gi", false);
this.context.setVariable("takou", "1");
}
/**
* 送信するメールBody部を取得
*/
private void getMailBody() {
this.templateEngine.setTemplateResolver(this.getMailTemplateResolver());
this.mailBody = templateEngine.process(this.templateName, this.context);
System.out.println(this.mailBody);
}
/**
* メールテンプレートリゾルバ設定
*/
private ClassLoaderTemplateResolver getMailTemplateResolver() {
// テキストメール分岐を作る場合に備えて分岐してリゾルバ設定
if (isHtmlMail()) {
this.templateResolver.setTemplateMode(TemplateMode.HTML);
String prefix = constants.MAIL_TEMPLATE_PATH_ROOT + constants.MAIL_TEMPLATE_HTML + '/';
this.templateResolver.setPrefix(prefix);
this.templateResolver.setSuffix("." + constants.MAIL_TEMPLATE_HTML);
}
this.templateResolver.setCharacterEncoding(constants.MAIL_CHARACTER_CODE);
this.templateResolver.setCacheable(true);
return templateResolver;
}
/**
* 送信
*/
@SuppressWarnings("unused") // 送信先ユーザ情報は架空の固定値でプッシュしてあるため首絞め
private void send() throws MailSendException {
try {
SimpleMailMessage msg = new SimpleMailMessage();
msg.setFrom(config.getSourceMailAddress());
msg.setTo(this.user.getMailAddress());
msg.setSubject(this.mailSubject);
msg.setText(this.mailBody);
this.mailSender.send(msg);
} catch (Exception e) {
throw new MailSendException("mail send error");
}
}
/**
* HTMLメール送信判定
*/
private boolean isHtmlMail() {
return true; // テキストメール分岐を作る場合用の準備
}
/**
* 日時文字列変換
*/
private String convertLocalDateTimeToString(LocalDateTime localDateTime, String pattern) {
DateTimeFormatter formatter = DateTimeFormatter.ofPattern(pattern);
return localDateTime.format(formatter);
}
}
|
package UnionFInd;
import java.util.Scanner;
//Quick Find
// Hay n elementos en una lista con su indice, cuando se conectan dos elementos el indice de todos con el segundo indice cambian
// Inicialiar involucra hacer un arreglo de (1,...,n) por lo que la iniciación es O(n)
// El peor caso al conectar es que todos los demas (n-1) por lo que es O(n)
// Al checar si están conectados colo se necesita comparar los valores de los dos puntos, por lo que es O(1)
// Initialize O(n)
// Union O(n)
// Connected O(1)
public class UF {
private int[] id;
// Se inicializa el arreglo de n posiciones con indices
// O(n)
public UF(int N) {
id = new int[N];
for (int i = 0; i < N; i++) {
id[i] = i;
}
}
// Al unir dos elementos, se cambian el index de todos los elementos que estan conectados a alguno
// O(n)
public void union(int p, int q) {
int pid = id[p];
int qid = id[q];
for (int i = 0; i < id.length; i++)
if (id[i] == pid)
id[i] = qid;
}
// Se compara el index de ambas posiciones, si son el mismo regresa verdadero
// O(1)
public boolean connected(int p, int q) {
return (id[p] == id[q]);
}
// Comprueba su funcionamiento al definir cuantos elementos son y cuantas
// uniones se quieren hacer
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int N = scan.nextInt();
int veces = scan.nextInt();
UF uf = new UF(N);
for (int i = 0; i < veces; i++) {
int p = scan.nextInt();
int q = scan.nextInt();
if (!uf.connected(p,q)) {
uf.union(p, q);
System.out.println(p + " " + q);
}
}
scan.close();
}
}
|
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ws;
import entidade.Usuario;
import entidade.dao.UsuarioDaoBd;
import java.util.ArrayList;
import java.util.List;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.UriInfo;
import javax.ws.rs.Produces;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.MediaType;
/**
* REST Web Service
*
* @author 630610194
*/
@Path("/usuarios")
public class UsuarioWS {
@Context
private UriInfo context;
static List<Usuario> listaUsuarios = new ArrayList<>();
private UsuarioDaoBd usuarioDao;
private int codigo;
/**
* Creates a new instance of MotorWS
*/
public UsuarioWS() {
usuarioDao = new UsuarioDaoBd();
}
/**
* Retrieves representation of an instance of ws.MotorWS
* @return an instance of entidade.Motor
*/
@GET
@Produces(MediaType.APPLICATION_JSON)
public List<Usuario> getUsuario() {
//return listaClientes;
//System.out.println("testeListar");
return usuarioDao.listar();
}
/**
* PUT method for updating or creating an instance of MotorWS
* @param content representation for the resource
*/
@POST
@Consumes(MediaType.APPLICATION_JSON)
public void inserirUsuario(Usuario usuario) {
usuarioDao.inserir(usuario);
}
@PUT
@Path("/{codigo}")
@Consumes(MediaType.APPLICATION_JSON)
public void editarUsuario(@PathParam("codigo") int codigo, Usuario usuario) {
usuario.setCodigo(codigo);
usuarioDao.atualizar(codigo,usuario);
}
@DELETE
@Path("/{codigo}")
@Consumes(MediaType.APPLICATION_JSON)
public void removerUsuario(@PathParam("codigo") int codigo) {
usuarioDao.deletar(codigo);
}
@GET
@Path("/{codigo}")
@Produces(MediaType.APPLICATION_JSON)
public Usuario buscarPorCodigo(@PathParam("codigo") int codigo) {
return usuarioDao.buscarPorId(codigo);
}
}
|
package k2.event;
import k2.valueobject.GameId;
import k2.valueobject.PawnColor;
import k2.valueobject.Space;
public class ClimberMovedEvent {
private final GameId gameId;
private final PawnColor player;
private final Space from;
private final Space to;
private final Integer movementPointsUsed;
public ClimberMovedEvent(GameId gameId, PawnColor player, Space from, Space to, Integer movementPointsUsed) {
this.gameId = gameId;
this.player = player;
this.from = from;
this.to = to;
this.movementPointsUsed = movementPointsUsed;
}
public PawnColor getPlayer() {
return player;
}
public Space getTo() {
return to;
}
public Integer getMovementPointsUsed() {
return movementPointsUsed;
}
}
|
package edu.uic.ids561;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Random;
public class FileGenerator
{
public static void main(String[] args)
{
File file = new File("/home/gaurang/Personal/Big_Data/PageRank/input/input.txt");
int maxnodes = 100;
int no_of_outlinks = 4;
int max_value = 100;
double initial_rank = 0.5;
StringBuffer st = new StringBuffer();
for(int i=1;i<=maxnodes;i++)
{
st.append("Page" + i + "," + initial_rank + "\t");
long randomnumber1;
Random random1 = new Random();
randomnumber1 = random1.nextInt(no_of_outlinks);
if(randomnumber1 == 0)
randomnumber1 = 1;
for(int j=1;j <= randomnumber1 ;j++)
{
long randomnumber;
Random random = new Random();
randomnumber = random.nextInt(max_value);
if(randomnumber == 0)
randomnumber = 1;
if(j==1)
st.append("Page" + randomnumber);
else
st.append("," + "Page" + randomnumber);
}
st.append("\n");
}
try
{
BufferedWriter bf = new BufferedWriter(new FileWriter(file));
bf.write(st.toString());
bf.close();
}
catch (IOException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
}
} |
package com.myreceiver;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;
//具有GUI,可以決定是否開關接收廣播事件
public class ReceiverSwitch extends Activity {
private IntentFilter filter = null;
private MyReceiver receiver = null;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
//開啟接收廣播的按鈕
Button onBtn = (Button)this.findViewById(R.id.onBtn);
//關閉接收廣播的按鈕
Button offBtn = (Button)this.findViewById(R.id.offBtn);
//委任點選按鈕的事件
onBtn.setOnClickListener(new OnClickListener(){
public void onClick(View view) {
if (ReceiverSwitch.this.filter == null)
filter = new IntentFilter("com.mybroadcast.action.Action1");
if (ReceiverSwitch.this.receiver == null)
receiver = new MyReceiver();
Log.v("broadcast", "registerReceiver");
ReceiverSwitch.this.registerReceiver(receiver, filter);
}
});
//委任點選按鈕的事件
offBtn.setOnClickListener(new OnClickListener(){
public void onClick(View view) {
try {
ReceiverSwitch.this.unregisterReceiver(receiver);
Log.v("broadcast", "unregisterReceiver");
} catch (java.lang.IllegalArgumentException e) {
Log.e("broadcast", "receiverSwitch:" + e);
}
}
});
}
} |
package org.xtext.example.mydsl.tests.kmmv.compilateur.weka;
import java.util.LinkedList;
import java.util.List;
import java.util.stream.Collectors;
import org.xtext.example.mydsl.mml.AllVariables;
import org.xtext.example.mydsl.mml.DataInput;
import org.xtext.example.mydsl.mml.MLChoiceAlgorithm;
import org.xtext.example.mydsl.mml.PredictorVariables;
import org.xtext.example.mydsl.mml.RFormula;
import org.xtext.example.mydsl.mml.Validation;
import org.xtext.example.mydsl.tests.kmmv.compilateur.Compilateur;
import org.xtext.example.mydsl.tests.kmmv.compilateur.Pair;
import org.xtext.example.mydsl.tests.kmmv.compilateur.Utils;
/**
* List of key word accross the compilateur :
* -> clf : algorithm
* -> data : data
*/
public class WekaCompilateur implements Compilateur {
@Override
public String compile(DataInput input, MLChoiceAlgorithm algorithm, RFormula formula, Validation validation, int uniqueId) {
Pair<List<String>, List<String>> inputC = compileDataInput(input);
Pair<List<String>, List<String>> formulaC = compileRFormula(formula);
Pair<List<String>, List<String>> algorithmC = MLAlgorithmCompiler.compile(algorithm.getAlgorithm());
Pair<List<String>, List<String>> validationC = ValidationCompiler.compile(validation);
List<String> buffer = new LinkedList<>(), bufferImports = new LinkedList<>();
bufferImports.addAll(inputC.getFirst());
bufferImports.addAll(formulaC.getFirst());
bufferImports.addAll(algorithmC.getFirst());
bufferImports.addAll(validationC.getFirst());
buffer.addAll(filterImport(bufferImports));
buffer.add("");
buffer.add(String.format("public class %s {", className(input, algorithm, validation, uniqueId)));
buffer.add(String.format("%spublic static void main(String[] arg) throws Exception {", Utils.tab()));
buffer.addAll(Utils.insertTab(inputC.getSecond(),2));
buffer.addAll(Utils.insertTab(formulaC.getSecond(),2));
buffer.addAll(Utils.insertTab(algorithmC.getSecond(),2));
buffer.addAll(Utils.insertTab(validationC.getSecond(),2));
buffer.add(String.format("%s}\n}",Utils.tab()));
return String.join("\n", buffer);
}
@Override
public String fileName(DataInput input, MLChoiceAlgorithm algorithm, Validation validation, int uniqueId) {
return String.format("%s.java", className(input, algorithm, validation, uniqueId));
}
private String className(DataInput input, MLChoiceAlgorithm algorithm, Validation validation, int uniqueId) {
return String.format("%s_%s_%s_%s", input.getFilelocation().replace(".", "_"), Utils.algorithmName(algorithm.getAlgorithm()), Utils.stratificationToString(validation.getStratification()), uniqueId);
}
private Pair<List<String>, List<String>> compileDataInput(DataInput input) {
List<String> import_ = new LinkedList<>();
List<String> code_ = new LinkedList<>();
import_.add("import weka.core.converters.ConverterUtils.DataSource;");
import_.add("import weka.core.Instances;");
code_.add(String.format("Instances data = DataSource.read(\"%s\");", input.getFilelocation()));
return new Pair<>(import_, code_);
}
private Pair<List<String>, List<String>> compileRFormula(RFormula formula){
List<String> import_ = new LinkedList<>();
List<String> code_ = new LinkedList<>();
import_.add("import weka.core.Attribute;");
import_.add("import java.util.List;");
import_.add("import java.util.LinkedList;");
import_.add("import weka.core.Instances;");
import_.add("import java.util.Enumeration;");
code_.add("List<String> column = new LinkedList<>();");
code_.add("String className = \"\";");
code_.add("for(Enumeration<Attribute> atr = data.enumerateAttributes(); atr.hasMoreElements();)");
code_.add(String.format("%scolumn.add(atr.nextElement().name());", Utils.tab()));
if(formula != null && formula.getPredictive() != null) {
if(formula.getPredictive().getColName() != null)
code_.add(String.format("className = \"%s\";", formula.getPredictive().getColName()));
else
code_.add(String.format("className = column.get(%d);", formula.getPredictive().getColumn()));
} else {
code_.add("className = column.get(column.size()-1);");
}
code_.add("data.setClassIndex(column.indexOf(className));");
if(formula != null && formula.getPredictors() != null && !(formula.getPredictors() instanceof AllVariables)) {
List<String> predictorsName = ((PredictorVariables) formula.getPredictors())
.getVars()
.stream()
.filter(variable -> variable.getColName() != null && !variable.getColName().isBlank())
.map(variable -> String.format("\"%s\"", variable.getColName()))
.collect(Collectors.toList());
List<Integer> predictorsIndex = ((PredictorVariables) formula.getPredictors())
.getVars()
.stream()
.filter(variable -> variable.getColName() == null || variable.getColName().isBlank())
.map(variable -> variable.getColumn())
.collect(Collectors.toList());
import_.add("import java.util.Collections;");
import_.add("import java.util.Set;");
import_.add("import java.util.HashSet;");
import_.add("import java.util.stream.Collectors;");
code_.add("Set<String> columnToKeep = new HashSet<>();");
for(String predN : predictorsName)
code_.add(String.format("columnToKeep.add(%s);", predN));
for(Integer predI : predictorsIndex)
code_.add(String.format("columnToKeep.add(column.get(%d));", predI));
code_.add("if(!columnToKeep.contains(className))");
code_.add(String.format("%scolumnToKeep.add(className);",Utils.tab()));
code_.add("List<Integer> removeColumn = column.stream().filter(name -> !columnToKeep.contains(name)).map(name -> column.indexOf(name)).collect(Collectors.toList());");
code_.add("Collections.reverse(removeColumn);");
code_.add("for(Integer index : removeColumn)");
code_.add(String.format("%sdata.deleteAttributeAt(index);", Utils.tab()));
}
return new Pair<>(import_, code_);
}
private List<String> filterImport(List<String> imports) {
List<String> result = new LinkedList<>();
for(String imp : imports) {
if(!result.contains(imp))
result.add(imp);
}
return result;
}
@Override
public String commandLine(String file) {
return String.format("javac -cp weka.jar %s && java -cp .:weka.jar %s", file, file.substring(0, file.length()-5));
}
}
|
package com.cnk.travelogix.supplier.inventory.facade;
import com.cnk.travelogix.supplier.inventory.data.FlightSearchData;
import com.cnk.travelogix.supplier.inventory.data.HotelSearchData;
import com.cnk.travelogix.supplier.inventory.data.SupplierInventoryDataList;
import com.cnk.travelogix.supplier.inventory.data.flight.FlightDetailDataList;
/**
* @author I077322
*
*/
public interface SupplierSearchFacade {
/**
* @param supplierId
* @return SupplierInventoryDataList
*/
public SupplierInventoryDataList search(final String supplierId);
/**
* @param supplierId
* @param hotelSearchData
* @return SupplierInventoryDataList
*/
public SupplierInventoryDataList search(String supplierId, HotelSearchData hotelSearchData);
/**
* @param supplierId
* @param flightSearchData
* @return FlightDetailDataList
*/
public FlightDetailDataList search(String supplierId, FlightSearchData flightSearchData);
}
|
//********************************************************************
// Advice.java Java Foundations
//
// Represents some thoughtful advice. Used to demonstrate the use
// of an overridden method.
//********************************************************************
public class Advice extends Thought {
//-----------------------------------------------------------------
// Prints a message. This method overrides the parent's version.
//-----------------------------------------------------------------
public void message() {
System.out.println("Warning: Dates in calendar are closer " + "than they appear.");
System.out.println();
super.message(); // explicitly invokes the parent's version
}
public String toString() {
return "Hello World from Advice.";
}
} |
package com.tencent.mm.plugin.luckymoney.f2f.ui;
import android.animation.ValueAnimator;
import android.animation.ValueAnimator.AnimatorUpdateListener;
class LuckyMoneyF2FReceiveUI$2 implements AnimatorUpdateListener {
final /* synthetic */ LuckyMoneyF2FReceiveUI kON;
LuckyMoneyF2FReceiveUI$2(LuckyMoneyF2FReceiveUI luckyMoneyF2FReceiveUI) {
this.kON = luckyMoneyF2FReceiveUI;
}
public final void onAnimationUpdate(ValueAnimator valueAnimator) {
LuckyMoneyF2FReceiveUI.c(this.kON).setTranslationY((-((Float) valueAnimator.getAnimatedValue()).floatValue()) * ((float) LuckyMoneyF2FReceiveUI.b(this.kON).heightPixels));
}
}
|
package edu.whut.ruansong.musicplayer.activity;
import android.content.Intent;
import android.os.Bundle;
import edu.whut.ruansong.musicplayer.model.BaseActivity;
/*用于解决应用启动有白屏的问题*/
public class SplashActivity extends BaseActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
startActivity(new Intent(this,DisplayActivity.class));
finish();
}
}
|
package com.tencent.mm.plugin.appbrand.widget.input;
public interface u$a {
void setIsHide(boolean z);
}
|
package view.guicomponents;
import javax.swing.*;
import javax.swing.event.HyperlinkEvent;
import javax.swing.event.HyperlinkEvent.EventType;
import javax.swing.event.HyperlinkListener;
import javax.swing.text.html.HTMLDocument;
import javax.swing.text.html.HTMLEditorKit;
import javax.swing.text.html.HTMLFrameHyperlinkEvent;
import javax.swing.text.html.StyleSheet;
import java.awt.*;
/**
* A pane containing and displaying HTML content including some style declarations and hyperlinks.
*
* @author Andreas Fender
*/
public class HtmlPane extends JEditorPane implements HyperlinkListener {
private static final long serialVersionUID = 1L;
public HtmlPane() {
HTMLEditorKit editorKit = new HTMLEditorKit();
this.setEditorKit(editorKit);
this.addHyperlinkListener(this);
this.setEditable(false);
StyleSheet styleSheet = editorKit.getStyleSheet();
styleSheet.addRule("body {padding: 0px 16px 0px 16px; color:#000; font-name:'Arial'; margin: 4px; }");
styleSheet.addRule("p {margin-left: 24px }");
styleSheet.addRule("ul {margin-left: 24px }");
styleSheet.addRule("a { text-decoration:none}");
styleSheet.addRule("a:hover {text-decoration:underlined}");
}
@Override
public void hyperlinkUpdate(HyperlinkEvent ev) {
JEditorPane pane = (JEditorPane) ev.getSource();
EventType eventType = ev.getEventType();
if (eventType == HyperlinkEvent.EventType.ENTERED) {
pane.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
} else if (eventType == HyperlinkEvent.EventType.EXITED) {
pane.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
} else if (eventType == HyperlinkEvent.EventType.ACTIVATED) {
if (ev instanceof HTMLFrameHyperlinkEvent) {
((HTMLDocument) pane.getDocument()).processHTMLFrameHyperlinkEvent((HTMLFrameHyperlinkEvent) ev);
} else try {
java.awt.Desktop.getDesktop().browse(ev.getURL().toURI());
} catch (Throwable ex) {
}
}
}
}
|
package com.example.nata.hallimane;
/**
* Created by nata on 27/5/16.
*/
import android.support.v7.app.AppCompatActivity;
import android.widget.EditText;
import android.widget.Spinner;
import java.util.regex.Pattern;
public class Validation extends AppCompatActivity{
//Regular Expression
//nata u can change this whenever u want
//standord mail = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\[A-Za-z]{2,})$";
private static final String EMAIL_REGEX = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z-0-9-]+(\\.[A-Za-z]{2,})$";//*(\\[A-Za-z]{2,})$";
// private static final String PHONE_REGEX = "^[0-9]{10}";
private static final String PASSWORD_REGEX = "^[a-zA-Z0-9*]{8,15}";
private static final String USER_NAME = "^[A-Za-z0-9.*]{4,15}";
//Error message
private static final String REQUIREQ_MSG = "required";
private static final String EMAIL_MSG = "invalid email ";
private static final String PHONE_MSG = "##########";
private static final String PASSWORD_MSG ="(8<Password Length<16) and can use * as special character";
private static final String USER_MSG = "Username may contain (a-z) (*.) and (numbers), 4<length<15";
//call this method when u need username validation
public static boolean isUsername(EditText editText,boolean required){
return isValid(editText,USER_NAME,USER_MSG,required);
}
//call this method when u need email validation
public static boolean isEmailAddress(EditText editText,boolean required){
return isValid(editText,EMAIL_REGEX,EMAIL_MSG,required);
}
/*
//call this method when u need phone validation
public static boolean isPhoneNumber(EditText editText,boolean required){
return isValid(editText, PHONE_REGEX, PHONE_MSG, required);
}*/
public static boolean isPassword(EditText editText,boolean required){
return isValid(editText, PASSWORD_REGEX, PASSWORD_MSG, required);
}
//return true if the input field is valid based on the parameters passed
public static boolean isValid(EditText editText,String regex,String errMsg,boolean required){
String text = editText.getText().toString().trim();
//clearing the error, if it was preveously set by some other values
editText.setError(null);
//text required and editText is blank,so return false
if(required && !hasText(editText))
return false;
//pattern doesn't match so returning false
if(required &&!Pattern.matches(regex,text)){
editText.setError(errMsg);
return false;
}
return true;
}
//check the input field has any text or not
//return true if it contains txt otherwise false
public static boolean hasText(EditText editText){
String text= editText.getText().toString().trim();
editText.setError(null);
//length 0 means there is no tect
if(text.length()==0){
editText.setError(REQUIREQ_MSG);
return false;
}
return true;
}
}
|
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package cn.jboa.entity;
import java.io.Serializable;
import java.util.Date;
public class ClaimVouyearStatistics implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private Long id;
private Double totalCount;
private int year;
private Date modifyTime;
private Department dept;
public ClaimVouyearStatistics() {
}
public ClaimVouyearStatistics(Long id, Double totalCount, Short year, Date modifyTime) {
this.id = id;
this.totalCount = totalCount;
this.year = year;
this.modifyTime = modifyTime;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public Double getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Double totalCount) {
this.totalCount = totalCount;
}
public int getYear() {
return this.year;
}
public void setYear(int year) {
this.year = year;
}
public Date getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Date modifyTime) {
this.modifyTime = modifyTime;
}
public Department getDept() {
return this.dept;
}
public void setDept(Department dept) {
this.dept = dept;
}
}
|
package com.johan.workexecutor;
import android.os.Handler;
import java.util.concurrent.atomic.AtomicBoolean;
/**
* Created by Administrator on 2016/9/26.
*/
public class Worker<T, K> implements WorkResultPublisher {
private Handler handler;
private Executor<T, K> executor;
private WorkResultReceiver receiver;
private AtomicBoolean isCancel;
private long delay;
public Worker(Handler handler, Executor<T, K> executor, WorkResultReceiver receiver) {
this(handler, executor, 0, receiver);
}
public Worker(Handler handler, Executor<T, K> executor, long delay, WorkResultReceiver receiver) {
this.handler = handler;
this.executor = executor;
this.delay = delay;
this.receiver = receiver;
this.isCancel = new AtomicBoolean(false);
}
public void work(final DataProvider<T> dataProvider) {
handler.postDelayed(new Runnable() {
@Override
public void run() {
if (isCancel.get()) {
publishWorkCancel(receiver);
} else {
try {
T sourceData = dataProvider.getData();
K resultData = executor.execute(sourceData);
DataProvider<K> nextDataProvider = new DataProvider<>();
nextDataProvider.setData(resultData);
publishWorkSuccess(receiver, nextDataProvider);
} catch (Exception exception) {
publishWorkFail(receiver, exception);
}
}
}
}, delay);
}
public void cancelWork() {
this.isCancel.set(true);
}
@Override
public void publishWorkSuccess(WorkResultReceiver receiver, DataProvider dataProvider) {
receiver.receiveWorkSuccess(dataProvider);
}
@Override
public void publishWorkCancel(WorkResultReceiver receiver) {
receiver.receiveWorkCancel();
}
@Override
public void publishWorkFail(WorkResultReceiver receiver, Exception exception) {
receiver.receiveWorkFail(exception);
}
}
|
package entities;
import java.sql.Timestamp;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;
import interfaces.Transaction;
@Entity
@Table(name = "service_request_tx")
public class ServiceRequestTx implements Transaction {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
@Fetch(FetchMode.JOIN)
@JoinColumn(name = "service_request_id")
@ManyToOne(cascade = CascadeType.PERSIST)
private ServiceRequest serviceRequestTxParent;
@Fetch(FetchMode.JOIN)
@JoinColumn(name = "service_request_time_window_id")
@ManyToOne(cascade = CascadeType.PERSIST)
private ServiceRequestTimeWindow serviceRequestTxTimeWindow;
@Fetch(FetchMode.JOIN)
@JoinColumn(name = "provider_id")
@ManyToOne(cascade = CascadeType.PERSIST)
private User serviceRequestProvider;
private Timestamp created;
@Column(name = "recipient_accept")
private Timestamp recipientAccept;
@Column(name = "recipient_reject")
private Timestamp recipientReject;
@Column(name = "recipient_complete")
private Timestamp recipientComplete;
@Column(name = "recipient_hour_offer")
private Double recipientHourOffer;
@Column(name = "provider_complete")
private Timestamp providerComplete;
@Column(name = "provider_hour_request")
private Double providerHourRequest;
@Column(name = "hours_exchanged")
private Double hoursExchanged;
@Column(name = "moderator_closed")
private Boolean moderatorClosed;
@Fetch(FetchMode.JOIN)
@OneToOne(targetEntity = User.class, cascade = CascadeType.PERSIST)
@JoinColumn(name = "closing_moderator_id")
private User closingModerator;
@Column(name = "last_update")
private Timestamp lastUpdate;
@Fetch(FetchMode.JOIN)
@OneToOne(targetEntity = User.class, cascade = CascadeType.PERSIST)
@JoinColumn(name = "last_update_user_id")
private User lastUpdateUser;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public ServiceRequest getServiceRequestTxParent() {
return serviceRequestTxParent;
}
public void setServiceRequestTxParent(ServiceRequest serviceRequestTxParent) {
this.serviceRequestTxParent = serviceRequestTxParent;
}
public ServiceRequestTimeWindow getServiceRequestTxTimeWindow() {
return serviceRequestTxTimeWindow;
}
public void setServiceRequestTxTimeWindow(ServiceRequestTimeWindow serviceRequestTxTimeWindow) {
this.serviceRequestTxTimeWindow = serviceRequestTxTimeWindow;
}
public User getServiceRequestProvider() {
return serviceRequestProvider;
}
public void setServiceRequestProvider(User serviceRequestProvider) {
this.serviceRequestProvider = serviceRequestProvider;
}
public Timestamp getCreated() {
return created;
}
public void setCreated(Timestamp created) {
this.created = created;
}
public Timestamp getRecipientAccept() {
return recipientAccept;
}
public void setRecipientAccept(Timestamp recipientAccept) {
this.recipientAccept = recipientAccept;
}
public Timestamp getRecipientReject() {
return recipientReject;
}
public void setRecipientReject(Timestamp recipientReject) {
this.recipientReject = recipientReject;
}
public Timestamp getRecipientComplete() {
return recipientComplete;
}
public void setRecipientComplete(Timestamp recipientComplete) {
this.recipientComplete = recipientComplete;
}
public Double getRecipientHourOffer() {
return recipientHourOffer;
}
public void setRecipientHourOffer(Double recipientHourOffer) {
this.recipientHourOffer = recipientHourOffer;
}
public Timestamp getProviderComplete() {
return providerComplete;
}
public void setProviderComplete(Timestamp providerComplete) {
this.providerComplete = providerComplete;
}
public Double getProviderHourRequest() {
return providerHourRequest;
}
public void setProviderHourRequest(Double providerHourRequest) {
this.providerHourRequest = providerHourRequest;
}
public Double getHoursExchanged() {
return hoursExchanged;
}
public void setHoursExchanged(Double hoursExchanged) {
this.hoursExchanged = hoursExchanged;
}
public Boolean getModeratorClosed() {
return moderatorClosed;
}
public void setModeratorClosed(Boolean moderatorClosed) {
this.moderatorClosed = moderatorClosed;
}
public User getClosingModerator() {
return closingModerator;
}
public void setClosingModerator(User closingModerator) {
this.closingModerator = closingModerator;
}
public Timestamp getLastUpdate() {
return lastUpdate;
}
public void setLastUpdate(Timestamp lastUpdate) {
this.lastUpdate = lastUpdate;
}
public User getLastUpdateUser() {
return lastUpdateUser;
}
public void setLastUpdateUser(User lastUpdateUser) {
this.lastUpdateUser = lastUpdateUser;
}
@Override
public Object getParent() {
return this.serviceRequestTxParent;
}
@Override
public User getOwner() {
return this.serviceRequestProvider;
}
@Override
public Timestamp getParentUserAccept() {
return this.recipientAccept;
}
@Override
public Timestamp getParentUserReject() {
return this.recipientReject;
}
@Override
public Timestamp getOwnerComplete() {
return this.providerComplete;
}
@Override
public Timestamp getParentUserComplete() {
return this.recipientComplete;
}
@Override
public void setParent(Object parent) {
this.serviceRequestTxParent = (ServiceRequest) parent;
}
@Override
public void setOwner(User owner) {
this.serviceRequestProvider = owner;
}
@Override
public void setParentUserAccept(Timestamp accept) {
this.recipientAccept = accept;
}
@Override
public void setParentUserReject(Timestamp reject) {
this.recipientReject = reject;
}
@Override
public void setOwnerComplete(Timestamp complete) {
this.providerComplete = complete;
}
@Override
public void setParentUserComplete(Timestamp complete) {
this.recipientComplete = complete;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + id;
result = prime * result + ((lastUpdate == null) ? 0 : lastUpdate.hashCode());
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
ServiceRequestTx other = (ServiceRequestTx) obj;
if (id != other.id)
return false;
if (lastUpdate == null) {
if (other.lastUpdate != null)
return false;
} else if (!lastUpdate.equals(other.lastUpdate))
return false;
return true;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("ServiceRequestTx [id=").append(id).append(", lastUpdate=").append(lastUpdate).append("]");
return builder.toString();
}
}
|
package com.chiriyankandath.englishvowelssounds.view;
import android.support.v7.app.AppCompatActivity;
/**
* Created by puannjoy on 7/20/2016.
*/
public class MathQuestionActivity extends AppCompatActivity {
}
|
package fr.umlv.escape.move;
import org.jbox2d.common.Vec2;
import org.jbox2d.dynamics.Body;
import fr.umlv.escape.Objects;
/**
* This class represent the move of the {@link XRay}. it is just a left move accelerated. This move never stop itself
* @implements {@link Movable}
*/
public class XRayMove implements Movable {
@Override
public void move(Body body) {
Objects.requireNonNull(body);
if(body.getLinearVelocity().x==0){
Vec2 v2 =new Vec2(4.0f, 0.0f);
body.setLinearVelocity(v2);
}
}
@Override
public void move(Body body, Vec2 force) {
this.move(body);
}
}
|
package com.duanxr.yith.easy;
import java.util.ArrayList;
import java.util.List;
/**
* @author 段然 2021/3/8
*/
public class PositionsOfLargeGroups {
/**
* In a string s of lowercase letters, these letters form consecutive groups of the same character.
*
* For example, a string like s = "abbxxxxzyy" has the groups "a", "bb", "xxxx", "z", and "yy".
*
* A group is identified by an interval [start, end], where start and end denote the start and end indices (inclusive) of the group. In the above example, "xxxx" has the interval [3,6].
*
* A group is considered large if it has 3 or more characters.
*
* Return the intervals of every large group sorted in increasing order by start index.
*
*
*
* Example 1:
*
* Input: s = "abbxxxxzzy"
* Output: [[3,6]]
* Explanation: "xxxx" is the only large group with start index 3 and end index 6.
* Example 2:
*
* Input: s = "abc"
* Output: []
* Explanation: We have groups "a", "b", and "c", none of which are large groups.
* Example 3:
*
* Input: s = "abcdddeeeeaabbbcd"
* Output: [[3,5],[6,9],[12,14]]
* Explanation: The large groups are "ddd", "eeee", and "bbb".
* Example 4:
*
* Input: s = "aba"
* Output: []
*
*
* Constraints:
*
* 1 <= s.length <= 1000
* s contains lower-case English letters only.
*
* 在一个由小写字母构成的字符串 s 中,包含由一些连续的相同字符所构成的分组。
*
* 例如,在字符串 s = "abbxxxxzyy" 中,就含有 "a", "bb", "xxxx", "z" 和 "yy" 这样的一些分组。
*
* 分组可以用区间 [start, end] 表示,其中 start 和 end 分别表示该分组的起始和终止位置的下标。上例中的 "xxxx" 分组用区间表示为 [3,6] 。
*
* 我们称所有包含大于或等于三个连续字符的分组为 较大分组 。
*
* 找到每一个 较大分组 的区间,按起始位置下标递增顺序排序后,返回结果。
*
*
*
* 示例 1:
*
* 输入:s = "abbxxxxzzy"
* 输出:[[3,6]]
* 解释:"xxxx" 是一个起始于 3 且终止于 6 的较大分组。
* 示例 2:
*
* 输入:s = "abc"
* 输出:[]
* 解释:"a","b" 和 "c" 均不是符合要求的较大分组。
* 示例 3:
*
* 输入:s = "abcdddeeeeaabbbcd"
* 输出:[[3,5],[6,9],[12,14]]
* 解释:较大分组为 "ddd", "eeee" 和 "bbb"
* 示例 4:
*
* 输入:s = "aba"
* 输出:[]
*
* 提示:
*
* 1 <= s.length <= 1000
* s 仅含小写英文字母
*
*/
class Solution {
public List<List<Integer>> largeGroupPositions(String S) {
List<List<Integer>> lists = new ArrayList<>();
char c = '?';
int s = 0;
int t = 0;
for (int i = 0; i < S.length(); i++) {
char n = S.charAt(i);
if (c == n) {
t++;
} else {
if (t >= 3) {
List<Integer> list = new ArrayList<>(2);
list.add(s);
list.add(i - 1);
lists.add(list);
}
s = i;
t = 1;
c = n;
}
}
if (t >= 3) {
List<Integer> list = new ArrayList<>(2);
list.add(s);
list.add(S.length() - 1);
lists.add(list);
}
return lists;
}
}
}
|
//
// GCALDaemon is an OS-independent Java program that offers two-way
// synchronization between Google Calendar and various iCalalendar (RFC 2445)
// compatible calendar applications (Sunbird, Rainlendar, iCal, Lightning, etc).
//
// Apache License
// Version 2.0, January 2004
// http://www.apache.org/licenses/
//
// Project home:
// http://gcaldaemon.sourceforge.net
//
package org.gcaldaemon.gui;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.StringSelection;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Locale;
import java.util.Properties;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.ListSelectionModel;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
import org.gcaldaemon.core.Configurator;
import org.gcaldaemon.core.StringUtils;
final class TranslatorDialog extends JDialog implements WindowListener,
ActionListener, ItemListener {
// --- SERIALVERSION ---
private static final long serialVersionUID = 388413817772250190L;
// --- VARIABLES ---
private final ConfigEditor editor;
private String selectedLanguage;
// --- COMPONENTS ---
private JPanel header;
private JLabel label;
private JComboBox combo;
private JScrollPane scroll;
private JTable table;
private JPanel footer;
private JButton save;
private JButton copy;
private JButton cancel;
// --- CONSTRUCTOR ---
TranslatorDialog(ConfigEditor editor) {
super(editor, Messages.getString("translate"), true); //$NON-NLS-1$
this.editor = editor;
setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
setSize(600, 500);
Container root = getContentPane();
BorderLayout rootLayout = new BorderLayout();
rootLayout.setVgap(5);
root.setLayout(rootLayout);
// Build components
header = new JPanel(new BorderLayout());
label = new JLabel(" " + Messages.getString("language") + ": "); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
combo = new JComboBox();
getAllInstalledLanguages();
header.add(label, BorderLayout.WEST);
header.add(combo, BorderLayout.CENTER);
root.add(header, BorderLayout.NORTH);
table = new JTable();
table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
Locale userLocale = Messages.getUserLocale();
if (userLocale == null) {
userLocale = Locale.ENGLISH;
}
int count = combo.getItemCount();
String locale = userLocale.getDisplayLanguage(Locale.ENGLISH);
String item;
for (int i = 0; i < count; i++) {
item = (String) combo.getItemAt(i);
if (item.startsWith(locale)) {
combo.setSelectedIndex(i);
break;
}
}
setUserLocale(userLocale);
scroll = new JScrollPane(table);
root.add(scroll, BorderLayout.CENTER);
save = new JButton(Messages.getString("save.and.test")); //$NON-NLS-1$
copy = new JButton(Messages.getString("copy")); //$NON-NLS-1$
cancel = new JButton(Messages.getString("exit")); //$NON-NLS-1$
FlowLayout footerLayout = new FlowLayout();
footerLayout.setAlignment(FlowLayout.RIGHT);
footer = new JPanel(footerLayout);
footer.add(save);
footer.add(copy);
footer.add(cancel);
copy.setIcon(editor.getIcon("copy")); //$NON-NLS-1$
cancel.setIcon(editor.getIcon("exit")); //$NON-NLS-1$
save.setIcon(editor.getIcon("save")); //$NON-NLS-1$
root.add(footer, BorderLayout.SOUTH);
// Action listeners
addWindowListener(this);
copy.addActionListener(this);
cancel.addActionListener(this);
save.addActionListener(this);
combo.addItemListener(this);
// Show dialog
setResizable(true);
validate();
Dimension size = ConfigEditor.TOOLKIT.getScreenSize();
Dimension win = getSize();
setLocation((size.width - win.width) / 2,
(size.height - win.height) / 2);
setVisible(true);
}
// --- DUMMY ACTION HANDLERS ---
public final void windowOpened(WindowEvent evt) {
}
public final void windowIconified(WindowEvent evt) {
}
public final void windowDeiconified(WindowEvent evt) {
}
public final void windowActivated(WindowEvent evt) {
}
public final void windowDeactivated(WindowEvent evt) {
}
public final void windowClosed(WindowEvent evt) {
}
// --- CLOSE WINDOW ---
public final void windowClosing(WindowEvent evt) {
dispose();
}
// --- FILL COMBO ---
private final void getAllInstalledLanguages() {
Locale[] availables = Locale.getAvailableLocales();
Locale userLocale = Messages.getUserLocale();
HashSet set = new HashSet();
String temp, lang;
int i;
for (i = 0; i < availables.length; i++) {
lang = availables[i].getDisplayLanguage(Locale.ENGLISH);
if (lang == null || lang.length() == 0) {
continue;
}
temp = availables[i].getDisplayLanguage(userLocale);
if (temp != null && temp.length() > 0 && !temp.equals(lang)) {
lang = lang + " [" + temp + ']';
}
set.add(lang);
}
String[] langs = new String[set.size()];
set.toArray(langs);
Arrays.sort(langs, String.CASE_INSENSITIVE_ORDER);
for (i = 0; i < langs.length; i++) {
combo.addItem(langs[i]);
}
}
// --- ACTION HANDLER ---
public final void actionPerformed(ActionEvent evt) {
Object source = evt.getSource();
if (source == cancel) {
selectedLanguage = null;
dispose();
return;
}
if (source == save) {
save();
return;
}
if (source == copy) {
try {
String item = (String) combo.getSelectedItem();
int n = item.indexOf('[');
if (n != -1) {
item = item.substring(0, n).trim();
}
Locale[] availables = Locale.getAvailableLocales();
Locale locale;
String lang;
for (int i = 0; i < availables.length; i++) {
locale = availables[i];
lang = locale.getDisplayLanguage(Locale.ENGLISH);
if (item.equals(lang)) {
String code = locale.getLanguage().toLowerCase();
copy(code);
return;
}
}
} catch (Exception ioError) {
editor
.error(
Messages.getString("error"), ioError.getMessage(), ioError); //$NON-NLS-1$
}
}
}
// --- COPY TO CLIPBOARD ---
private final void copy(String code) throws Exception {
Properties properties = new Properties();
TableModel model = table.getModel();
int rows = model.getRowCount();
for (int i = 0; i < rows; i++) {
properties.setProperty((String) model.getValueAt(i, 0),
(String) model.getValueAt(i, 2));
}
ByteArrayOutputStream out = new ByteArrayOutputStream();
properties.store(out, "Language file for " + Configurator.VERSION //$NON-NLS-1$
+ " [messages-" + code + ".txt]"); //$NON-NLS-1$ //$NON-NLS-2$
String content = StringUtils.decodeToString(out.toByteArray(),
StringUtils.US_ASCII);
Clipboard clipboard = ConfigEditor.TOOLKIT.getSystemClipboard();
StringSelection selection = new StringSelection(content);
clipboard.setContents(selection, null);
}
// --- SAVE AND TEST ---
private final void save() {
String item = (String) combo.getSelectedItem();
int n = item.indexOf('[');
if (n != -1) {
item = item.substring(0, n).trim();
}
Locale[] availables = Locale.getAvailableLocales();
Locale locale;
String lang;
for (int i = 0; i < availables.length; i++) {
locale = availables[i];
lang = locale.getDisplayLanguage(Locale.ENGLISH);
if (item.equals(lang)) {
String code = locale.getLanguage().toLowerCase();
saveLangFile(code, locale);
dispose();
return;
}
}
}
private final void saveLangFile(String code, Locale locale) {
try {
Properties properties = new Properties();
TableModel model = table.getModel();
int rows = model.getRowCount();
for (int i = 0; i < rows; i++) {
properties.setProperty((String) model.getValueAt(i, 0),
(String) model.getValueAt(i, 2));
}
String programDir = System.getProperty("gcaldaemon.program.dir", //$NON-NLS-1$
"/Progra~1/GCALDaemon"); //$NON-NLS-1$
File langDir = new File(programDir, "lang"); //$NON-NLS-1$
if (!langDir.isDirectory()) {
langDir.mkdir();
}
File msgFile = new File(langDir, "messages-" + code + ".txt"); //$NON-NLS-1$ //$NON-NLS-2$
FileOutputStream out = new FileOutputStream(msgFile);
String lang;
try {
lang = (new Locale(code)).getDisplayLanguage(Locale.ENGLISH);
} catch (Exception ignored) {
lang = "";
}
properties.store(out, lang
+ " language file for " + Configurator.VERSION //$NON-NLS-1$
+ " [" + msgFile.getName() + ']'); //$NON-NLS-1$
out.close();
selectedLanguage = code;
} catch (Exception ioError) {
editor.error(
Messages.getString("error"), ioError.getMessage(), ioError); //$NON-NLS-1$
}
}
final String getSelectedLanguage() {
return selectedLanguage;
}
// --- LANGUAGE SELECTED ---
public final void itemStateChanged(ItemEvent evt) {
String item = (String) combo.getSelectedItem();
String old = (String) evt.getItem();
if (item != null && !item.equals(old)) {
int n = item.indexOf('[');
if (n != -1) {
item = item.substring(0, n).trim();
}
Locale[] availables = Locale.getAvailableLocales();
String lang;
for (int i = 0; i < availables.length; i++) {
lang = availables[i].getDisplayLanguage(Locale.ENGLISH);
if (item.equals(lang)) {
setUserLocale(availables[i]);
return;
}
}
}
}
// --- SELECT LANGUAGE AND FILL TABLE ---
private final void setUserLocale(Locale locale) {
setTitle(Messages.getString("translate") + " [GCALDaemon/lang/messages-" //$NON-NLS-1$ //$NON-NLS-2$
+ locale.getLanguage().toLowerCase() + ".txt]"); //$NON-NLS-1$
String[] headers = {
Messages.getString("key"), Messages.getString("english"), locale.getDisplayLanguage() }; //$NON-NLS-1$ //$NON-NLS-2$
String[][] data = Messages.getTranslatorTable(locale);
TranslatorTableModel model = new TranslatorTableModel(data, headers);
table.setModel(model);
for (int i = 0; i < data.length; i++) {
if (data[i][1] != null && !"ok".equals(data[i][0])
&& data[i][1].equals(data[i][2])) {
table.getSelectionModel().setSelectionInterval(i, i);
return;
}
}
}
// --- TABLE MODEL ---
private final class TranslatorTableModel extends DefaultTableModel {
// --- SERIALVERSION ---
private static final long serialVersionUID = 2251429309814589328L;
private TranslatorTableModel(String[][] data, String[] headers) {
super(data, headers);
}
public final boolean isCellEditable(int y, int x) {
if (x < 2) {
return false;
}
return true;
}
}
}
|
package com.accp.service.impl;
import com.accp.entity.Otheroutdetail;
import com.accp.dao.OtheroutdetailDao;
import com.accp.service.IOtheroutdetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 服务实现类
* </p>
*
* @author ljq
* @since 2019-08-28
*/
@Service
public class OtheroutdetailServiceImpl extends ServiceImpl<OtheroutdetailDao, Otheroutdetail> implements IOtheroutdetailService {
}
|
package com.mx.profuturo.bolsa.model.service.vacancies.vo;
import com.mx.profuturo.bolsa.model.service.vacancies.dto.InformacionGeneralVacanteMaestraVO;
import java.util.LinkedList;
public class ResumenVacantesAdminCorpVO {
private LinkedList<ResumenVacanteCorp> vacantes;
private LinkedList<InformacionGeneralVacanteMaestraVO> vacantesMaestrasAnalistaClientes;
private int paginaActual;
private int totalPaginas;
public int getPaginaActual() {
return paginaActual;
}
public void setPaginaActual(int paginaActual) {
this.paginaActual = paginaActual;
}
public int getTotalPaginas() {
return totalPaginas;
}
public void setTotalPaginas(int totalPaginas) {
this.totalPaginas = totalPaginas;
}
public LinkedList<ResumenVacanteCorp> getVacantes() {
return vacantes;
}
public void setVacantes(LinkedList<ResumenVacanteCorp> vacantes) {
this.vacantes = vacantes;
}
public LinkedList<InformacionGeneralVacanteMaestraVO> getVacantesMaestrasAnalistaClientes() {
return vacantesMaestrasAnalistaClientes;
}
public void setVacantesMaestrasAnalistaClientes(LinkedList<InformacionGeneralVacanteMaestraVO> vacantesMaestrasAnalistaClientes) {
this.vacantesMaestrasAnalistaClientes = vacantesMaestrasAnalistaClientes;
}
}
|
package supermario.ch.idsia.agents.controllers.behaviortree;
import javax.xml.bind.annotation.XmlRootElement;
import static supermario.ch.idsia.agents.controllers.behaviortree.BehaviorTree.blackboard;
@XmlRootElement(name="movementlocked")
public class MovementLockedCondition implements TreeTask {
@Override
public boolean run() {
return BlackboardHelper.getMovementSemaphore(blackboard) > 0;
}
}
|
package br.com.compasso.avaliacaosprint4.controller;
import java.net.URI;
import java.util.List;
import java.util.Optional;
import javax.transaction.Transactional;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.util.UriComponentsBuilder;
import br.com.compasso.avaliacaosprint4.controller.dto.PedidoDto;
import br.com.compasso.avaliacaosprint4.controller.form.PedidoForm;
import br.com.compasso.avaliacaosprint4.model.Pedido;
import br.com.compasso.avaliacaosprint4.repository.PedidoRepository;
import br.com.compasso.avaliacaosprint4.repository.ProdutoRepository;
@RestController
@RequestMapping("/protected/pedido")
public class PedidoController {
@Autowired
private PedidoRepository pedidoRepository;
@Autowired
private ProdutoRepository produtoRepository;
@GetMapping
@Cacheable(value = "listaDePedidos")
public List<PedidoDto> listar() {
List<Pedido> pedidos = pedidoRepository.findAll();
return PedidoDto.converter(pedidos);
}
@PostMapping
@Transactional
@CacheEvict(value = "listaDePedidos", allEntries = true)
public ResponseEntity<PedidoDto> cadastrar(
@Valid @RequestBody PedidoForm pedidoForm,
UriComponentsBuilder uriBuilder) {
Pedido pedido = pedidoForm.converter(produtoRepository);
pedidoRepository.save(pedido);
URI uri = uriBuilder.path("/protected/pedido/{id}")
.buildAndExpand(pedido.getId())
.toUri();
return ResponseEntity.created(uri).body(new PedidoDto(pedido));
}
@GetMapping("/{id}")
public ResponseEntity<PedidoDto> detalhar(@PathVariable Long id) {
Optional<Pedido> pedido = pedidoRepository.findById(id);
if (pedido.isPresent()) {
return ResponseEntity.ok(new PedidoDto(pedido.get()));
}
return ResponseEntity.notFound().build();
}
@PutMapping("/{id}")
@Transactional
@CacheEvict(value = "listaDePedidos", allEntries = true)
public ResponseEntity<PedidoDto> atualizar(@PathVariable Long id,
@Valid @RequestBody PedidoForm pedidoForm) {
Pedido pedido = pedidoForm.atualizar(id, pedidoRepository, produtoRepository);
if (pedido != null) {
return ResponseEntity.ok(new PedidoDto(pedido));
}
return ResponseEntity.notFound().build();
}
@DeleteMapping("{id}")
@Transactional
@CacheEvict(value = "listaDePedidos", allEntries = true)
public ResponseEntity<?> remover(@PathVariable Long id) {
Optional<Pedido> pedido = pedidoRepository.findById(id);
if (pedido.isPresent()) {
pedidoRepository.deleteById(id);
return ResponseEntity.ok().build();
}
return ResponseEntity.notFound().build();
}
}
|
public class Reserva{
Room room;
Date dateIn;
Date dateOut;
public Reserva(Room room, Date dateIn, Date dateOut){
this.room = room;
this.dateIn = dateIn;
this.dateOut = dateOut;
}
public String roomType(){
return "Tipo de habitacion: " + room.type();
}
public String firstDate(){
return (dateIn.dateToString());
}
public String lastDate(){
return (dateOut.dateToString());
}
}
|
package kimmyeonghoe.cloth.service.cloth.admin;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import kimmyeonghoe.cloth.dao.cloth.admin.AdminClothDao;
import kimmyeonghoe.cloth.domain.cloth.Cloth;
@Service("admin.clothService")
public class AdminClothServiceImpl implements AdminClothService {
@Autowired private AdminClothDao clothDao;
@Override
public List<Cloth> getCloths() {
return clothDao.selectCloths();
}
@Override
public boolean addCloth(Cloth cloth) {
return clothDao.insertCloth(cloth) > 0;
}
@Override
public boolean fixCloth(Cloth cloth) {
return clothDao.updateCloth(cloth) > 0;
}
@Override
public boolean delCloth(int clothNum) {
return clothDao.deleteCloth(clothNum) > 0;
}
@Override
public Cloth findCloth(int clothNum) {
return clothDao.searchCloth(clothNum);
}
}
|
package arrays.Linkedlist;
import javax.lang.model.type.ArrayType;
import java.util.ArrayList;
public class MainLinkedList {
public static void main(String[] args){
Customer customer = new Customer("Adit", 100.50);
Customer anotherCustomer;
anotherCustomer = customer;
anotherCustomer.setBalance(500);
System.out.println("Balance for " + customer.getName() + " is "+ customer.getBalance());
ArrayList<Integer> intList = new ArrayList<Integer>();
System.out.println("\nInitial ArrayList");
intList.add(1);
intList.add(3);
intList.add(4);
for(int i = 0; i< intList.size(); i++){
System.out.println(i + ": " + intList.get(i));
}
// Code below will result in adding new element not changing it. Hence,
// creating and store new data which will consume time to process.
// 0:1
// 1:2
// 2:3
// 3:4
System.out.println("\nArray list after adding element of 2 at index 1");
intList.add(1, 2);
for(int i = 0; i< intList.size(); i++){
System.out.println(i + ": " + intList.get(i));
}
}
}
|
package com.example.logintest;
import java.io.UnsupportedEncodingException;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.ActionBar;
import android.support.v4.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import android.os.Build;
public class MainActivity extends ActionBarActivity {
private EditText textname = null;
private EditText textpassword = null;
private Button button = null;
private TextView te=null;
private static Handler handler=new Handler();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.fragment_main);
textname = (EditText)findViewById(R.id.name);
textpassword = (EditText)findViewById(R.id.password);
button = (Button)findViewById(R.id.button);
button.setOnClickListener(new mybuttonlistener());
}
class mybuttonlistener implements OnClickListener{
int result;
String name;
String password;
public void onClick(View v) {
new Thread(){
@Override
public void run() {
try {
name = textname.getText().toString();
name = new String(name.getBytes("ISO8859-1"), "UTF-8");
password = textpassword.getText().toString();
password = new String(password.getBytes("ISO8859-1"), "UTF-8");
} catch (UnsupportedEncodingException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}try {
result = NewsService.login(name,password);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
handler.postDelayed(new Runnable() {
@Override
public void run() {
Intent intent = new Intent();
if(result==1){
Toast.makeText(MainActivity.this, "ok", Toast.LENGTH_SHORT).show();
intent.setClass(MainActivity.this, ManageActivity.class);
startActivity(intent);
}else{
Toast.makeText(MainActivity.this, "erro", Toast.LENGTH_SHORT).show();
}
}
}, 3000);
}
}.start();
}
}
}
|
package com.example.ashvant.stock;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.util.ArrayList;
/**
* Created by ashvant on 11/26/17.
*/
public class NewsAdapter extends ArrayAdapter<NewsData> {
private static ArrayList<NewsData> newsDetails = new ArrayList<NewsData>();
public NewsAdapter(Context context,ArrayList<NewsData> newsList) {
super(context,0,newsList);
this.newsDetails = newsList;
}
@NonNull
@Override
public View getView(int position, @Nullable View convertView, @NonNull ViewGroup parent) {
NewsData currentItem = newsDetails.get(position);
View listItemView = convertView;
if(listItemView==null){
listItemView = LayoutInflater.from(getContext()).inflate(R.layout.news_list_row,parent,false);
}
TextView title = (TextView)listItemView.findViewById(R.id.title);
title.setMovementMethod(LinkMovementMethod.getInstance());
String text = "<a href=\""+currentItem.getLink()+"\">"+currentItem.getTitle()+"</a>";
title.setText(Html.fromHtml(text));
TextView author = (TextView)listItemView.findViewById(R.id.author);
author.setText(currentItem.getAuthor());
TextView date = (TextView) listItemView.findViewById(R.id.date);
date.setText(currentItem.getDate());
return listItemView;
}
}
|
package com.techlab.account.test;
public class CurrentAccount extends Account {
private static final double MINIMUM_BALANCE = 500;
private static final double OVERDRAFT = 10000;
public CurrentAccount(int accno, String accname, double balance) {
super(accno, accname, balance);
}
@Override
public void withdraw(double amt) {
if ((balance - amt) >= MINIMUM_BALANCE) {
balance = balance - amt;
} else if (balance <= 0)
balance = balance + OVERDRAFT;
System.out.println("Overdraft balance is:" + balance);
}
}
|
package com.devcamp.currencyconverter.tools.mapper.api;
public interface Mapper {
<S, D> D convert(S source, Class<D> destinationClass);
}
|
package com.tencent.mm.plugin.readerapp.c;
import com.tencent.mm.kernel.g;
import com.tencent.mm.model.bi;
import com.tencent.mm.platformtools.ab;
import com.tencent.mm.plugin.messenger.foundation.a.i;
import com.tencent.mm.plugin.readerapp.a;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.protocal.c.by;
import com.tencent.mm.r.f;
import com.tencent.mm.sdk.platformtools.ad;
import com.tencent.mm.sdk.platformtools.bl;
import com.tencent.mm.sdk.platformtools.x;
import com.tencent.mm.storage.ai;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
public final class e implements f {
public static e mnr = new e();
private e() {
}
public final void a(int i, Map<String, by> map, boolean z) {
x.i("MicroMsg.ReaderFuncMsgUpdateMgr", "onFunctionMsgUpdate, op: %s, msgIdMap.size: %s, needUpdateTime: %s", new Object[]{Integer.valueOf(i), Integer.valueOf(map.size()), Boolean.valueOf(z)});
for (String str : map.keySet()) {
by byVar = (by) map.get(str);
List<bi> a = a(byVar, str);
if (a != null) {
long j = ((long) byVar.lOH) * 1000;
if (!(a == null || a.size() == 0)) {
x.i("MicroMsg.ReaderFuncMsgUpdateMgr", "processInfoList, op: %s, infoList.size: %s", new Object[]{Integer.valueOf(i), Integer.valueOf(a.size())});
bi biVar;
if (i == 1) {
for (bi biVar2 : a) {
x.i("MicroMsg.ReaderFuncMsgUpdateMgr", "delete info, functionMsgId: %s", new Object[]{biVar2.IB()});
g.bpT().b(biVar2.IB(), biVar2.type, true, true);
}
} else if (i == 0) {
bi biVar3 = null;
int i2 = 0;
int i3 = 0;
List H = g.bpT().H(str, ((bi) a.get(0)).type);
bi biVar4 = null;
x.i("MicroMsg.ReaderFuncMsgUpdateMgr", "update info, functionMsgId: %s, oldInfoList: %s", new Object[]{str, H});
Object obj = null;
for (bi biVar5 : a) {
if (biVar3 == null) {
i3 = biVar5.type;
biVar5.dCU = 1;
biVar3 = biVar5;
}
if (H == null) {
x.i("MicroMsg.ReaderFuncMsgUpdateMgr", "update info, insert new msg, functionMsgId: %s", new Object[]{biVar5.IB()});
i2++;
g.bpT().a(biVar5);
} else {
int i4;
if (z) {
biVar5.time = j;
if (biVar3 != null) {
biVar3.time = j;
}
i4 = i2 + 1;
} else {
if (biVar4 == null) {
biVar2 = (bi) H.get(0);
Iterator it = H.iterator();
while (true) {
biVar4 = biVar2;
if (!it.hasNext()) {
break;
}
biVar2 = (bi) it.next();
if (biVar2.dCU != 1) {
biVar2 = biVar4;
}
}
}
biVar5.time = biVar4.time;
if (biVar3 != null) {
biVar3.time = biVar4.time;
}
i4 = i2;
}
x.i("MicroMsg.ReaderFuncMsgUpdateMgr", "update info, update the exist one, functionMsgId: %s, time: %s", new Object[]{biVar5.IB(), Long.valueOf(biVar5.time)});
if (obj == null) {
g.bpT().b(biVar5.IB(), biVar5.type, false, false);
obj = 1;
}
g.bpT().a(biVar5);
i2 = i4;
}
}
if (i2 > 0) {
ai Yq = ((i) g.l(i.class)).FW().Yq(bi.he(i3));
if (Yq == null || !Yq.field_username.equals(bi.he(i3))) {
ai aiVar = new ai();
aiVar.setUsername(bi.he(i3));
aiVar.setContent(biVar3 == null ? "" : biVar3.getTitle());
aiVar.as(biVar3 == null ? com.tencent.mm.sdk.platformtools.bi.VF() : biVar3.time);
aiVar.eX(0);
aiVar.eV(1);
((i) g.l(i.class)).FW().d(aiVar);
} else {
Yq.as(biVar3.time);
Yq.eX(0);
if (!(com.tencent.mm.sdk.platformtools.bi.oW(biVar3.getTitle()) || biVar3.getTitle().equals(Yq.field_content)) || Yq.field_unReadCount == 0) {
Yq.setContent(biVar3.getTitle());
Yq.eV(Yq.field_unReadCount + 1);
}
((i) g.l(i.class)).FW().a(Yq, bi.he(i3));
}
}
g.bpT().doNotify();
}
}
}
h.mEJ.h(13440, new Object[]{Integer.valueOf(1)});
}
}
private static List<bi> a(by byVar, String str) {
String trim = ab.a(byVar.rcl).trim();
if (trim.indexOf("<") != -1) {
trim = trim.substring(trim.indexOf("<"));
}
long j = ((long) byVar.lOH) * 1000;
x.d("MicroMsg.ReaderFuncMsgUpdateMgr", "parseMsg, createTime: %s, content: %s", new Object[]{Integer.valueOf(byVar.lOH), trim});
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMddHHmmssSSSS");
List<bi> arrayList = new ArrayList();
try {
Map z = bl.z(trim, "mmreader");
int i = 0;
while (i <= 0) {
String str2 = ".mmreader.category" + (i > 0 ? Integer.valueOf(i) : "");
int i2 = com.tencent.mm.sdk.platformtools.bi.getInt((String) z.get(str2 + ".$type"), 0);
if (i2 != 0) {
if (i2 != 20 && i2 != 11) {
x.e("MicroMsg.ReaderFuncMsgUpdateMgr", "get " + str2 + ".$type error Type:" + i2);
break;
}
trim = (String) z.get(str2 + ".name");
if (com.tencent.mm.sdk.platformtools.bi.oW(trim)) {
x.e("MicroMsg.ReaderFuncMsgUpdateMgr", "get " + str2 + ".name error");
break;
}
String str3 = (String) z.get(str2 + ".topnew.cover");
String str4 = (String) z.get(str2 + ".topnew.digest");
int i3 = com.tencent.mm.sdk.platformtools.bi.getInt((String) z.get(str2 + ".$count"), 0);
if (i3 == 0) {
x.e("MicroMsg.ReaderFuncMsgUpdateMgr", "get " + str2 + ".$count error");
break;
}
if (i3 > 1) {
str2 = str2 + (i2 == 20 ? ".newitem" : ".item");
} else {
str2 = str2 + ".item";
}
int i4 = 0;
while (true) {
int i5 = i4;
if (i5 >= i3) {
break;
}
String str5 = str2 + (i5 > 0 ? Integer.valueOf(i5) : "");
bi biVar = new bi();
biVar.dCW = (long) byVar.rci;
biVar.title = (String) z.get(str5 + ".title");
if (i5 == 0) {
biVar.dCU = 1;
biVar.dzy = str3;
biVar.dzA = com.tencent.mm.sdk.platformtools.bi.oW(str4) ? (String) z.get(str5 + ".digest") : str4;
} else {
biVar.dzy = (String) z.get(str5 + ".cover");
biVar.dzA = (String) z.get(str5 + ".digest");
}
biVar.dCV = z.containsKey(new StringBuilder().append(str5).append(".vedio").toString()) ? 1 : 0;
biVar.url = (String) z.get(str5 + ".url");
biVar.dCP = (String) z.get(str5 + ".shorturl");
biVar.dCQ = (String) z.get(str5 + ".longurl");
biVar.dCR = com.tencent.mm.sdk.platformtools.bi.getLong((String) z.get(str5 + ".pub_time"), 0);
String str6 = (String) z.get(str5 + ".tweetid");
if (str6 == null || "".equals(str6)) {
str6 = "N" + simpleDateFormat.format(new Date(System.currentTimeMillis() + ((long) i5)));
x.d("MicroMsg.ReaderFuncMsgUpdateMgr", "create tweetID = " + str6);
}
biVar.dCO = str6;
biVar.dCS = (String) z.get(str5 + ".sources.source.name");
biVar.dCT = (String) z.get(str5 + ".sources.source.icon");
biVar.time = ((long) i) + j;
biVar.type = i2;
biVar.name = trim;
biVar.dCX = str;
arrayList.add(biVar);
String[] strArr = new Object[2];
strArr[0] = com.tencent.mm.pluginsdk.f.h.h(ad.getContext().getString(a.g.fmt_date), biVar.dCR);
strArr[1] = com.tencent.mm.pluginsdk.f.h.c(ad.getContext(), biVar.time, false);
x.d("MicroMsg.ReaderFuncMsgUpdateMgr", "parse info, pubtime: %s, time: %s", strArr);
i4 = i5 + 1;
}
i++;
} else {
x.e("MicroMsg.ReaderFuncMsgUpdateMgr", "get " + str2 + ".$type error");
break;
}
}
return arrayList;
} catch (Throwable e) {
x.printErrStackTrace("MicroMsg.ReaderFuncMsgUpdateMgr", e, "", new Object[0]);
x.e("MicroMsg.ReaderFuncMsgUpdateMgr", "parseMsg error: %s", new Object[]{e.getMessage()});
return null;
}
}
}
|
package org.holoeverywhere.widget;
import java.util.List;
import java.util.Map;
import org.holoeverywhere.LayoutInflater;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
public class SimpleExpandableListAdapter extends BaseExpandableListAdapter {
private List<? extends List<? extends Map<String, ?>>> mChildData;
private String[] mChildFrom;
private int mChildLayout;
private int[] mChildTo;
private int mCollapsedGroupLayout;
private int mExpandedGroupLayout;
private List<? extends Map<String, ?>> mGroupData;
private String[] mGroupFrom;
private int[] mGroupTo;
private LayoutInflater mInflater;
private int mLastChildLayout;
public SimpleExpandableListAdapter(Context context,
List<? extends Map<String, ?>> groupData, int expandedGroupLayout,
int collapsedGroupLayout, String[] groupFrom, int[] groupTo,
List<? extends List<? extends Map<String, ?>>> childData,
int childLayout, int lastChildLayout, String[] childFrom,
int[] childTo) {
mGroupData = groupData;
mExpandedGroupLayout = expandedGroupLayout;
mCollapsedGroupLayout = collapsedGroupLayout;
mGroupFrom = groupFrom;
mGroupTo = groupTo;
mChildData = childData;
mChildLayout = childLayout;
mLastChildLayout = lastChildLayout;
mChildFrom = childFrom;
mChildTo = childTo;
mInflater = LayoutInflater.from(context);
}
public SimpleExpandableListAdapter(Context context,
List<? extends Map<String, ?>> groupData, int expandedGroupLayout,
int collapsedGroupLayout, String[] groupFrom, int[] groupTo,
List<? extends List<? extends Map<String, ?>>> childData,
int childLayout, String[] childFrom, int[] childTo) {
this(context, groupData, expandedGroupLayout, collapsedGroupLayout,
groupFrom, groupTo, childData, childLayout, childLayout,
childFrom, childTo);
}
public SimpleExpandableListAdapter(Context context,
List<? extends Map<String, ?>> groupData, int groupLayout,
String[] groupFrom, int[] groupTo,
List<? extends List<? extends Map<String, ?>>> childData,
int childLayout, String[] childFrom, int[] childTo) {
this(context, groupData, groupLayout, groupLayout, groupFrom, groupTo, childData,
childLayout, childLayout, childFrom, childTo);
}
private void bindView(View view, Map<String, ?> data, String[] from, int[] to) {
int len = to.length;
for (int i = 0; i < len; i++) {
TextView v = (TextView) view.findViewById(to[i]);
if (v != null) {
v.setText((String) data.get(from[i]));
}
}
}
@Override
public Object getChild(int groupPosition, int childPosition) {
return mChildData.get(groupPosition).get(childPosition);
}
@Override
public long getChildId(int groupPosition, int childPosition) {
return childPosition;
}
@Override
public int getChildrenCount(int groupPosition) {
return mChildData.get(groupPosition).size();
}
@Override
public View getChildView(int groupPosition, int childPosition, boolean isLastChild,
View convertView, ViewGroup parent) {
View v;
if (convertView == null) {
v = newChildView(isLastChild, parent);
} else {
v = convertView;
}
bindView(v, mChildData.get(groupPosition).get(childPosition), mChildFrom, mChildTo);
return v;
}
@Override
public Object getGroup(int groupPosition) {
return mGroupData.get(groupPosition);
}
@Override
public int getGroupCount() {
return mGroupData.size();
}
@Override
public long getGroupId(int groupPosition) {
return groupPosition;
}
@Override
public View getGroupView(int groupPosition, boolean isExpanded, View convertView,
ViewGroup parent) {
View v;
if (convertView == null) {
v = newGroupView(isExpanded, parent);
} else {
v = convertView;
}
bindView(v, mGroupData.get(groupPosition), mGroupFrom, mGroupTo);
return v;
}
@Override
public boolean hasStableIds() {
return true;
}
@Override
public boolean isChildSelectable(int groupPosition, int childPosition) {
return true;
}
public View newChildView(boolean isLastChild, ViewGroup parent) {
return mInflater.inflate(isLastChild ? mLastChildLayout : mChildLayout, parent, false);
}
public View newGroupView(boolean isExpanded, ViewGroup parent) {
return mInflater.inflate(isExpanded ? mExpandedGroupLayout : mCollapsedGroupLayout,
parent, false);
}
}
|
package com.dimple.web.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
/**
* @className: TestController
* @description:
* @auther: Dimple
* @Date: 2019/4/18
* @Version: 1.0
*/
@Controller
public class TestController {
@GetMapping("/test")
public String test() {
return "apply/apply";
}
public static void main(String[] args) {
String s = "是否参赛以组织单位或学工办出具的参赛名单为准。 获奖情况需提供获奖证书或相关证明材料。同一竞赛不得累计加分,只记最高得分。参加竞赛未获奖的,根据参赛次数最高可累加1分。";
int i = 0;
String text = "";
while (i < s.length()) {
text += s;
}
}
}
|
package eu.tivian.musico.utility;
import android.text.Editable;
import android.text.TextWatcher;
/**
* A simplified version of {@link TextWatcher} which requires only
* {@link TextWatcher#onTextChanged(CharSequence, int, int, int)} implementation.
*/
public interface SimpleTextWatcher extends TextWatcher {
/**
* This method is called to notify you that, within <code>s</code>,
* the <code>count</code> characters beginning at <code>start</code>
* are about to be replaced by new text with length <code>after</code>.
* It is an error to attempt to make changes to <code>s</code> from
* this callback.
*/
@Override
default void beforeTextChanged(CharSequence s, int start, int count, int after) {}
/**
* This method is called to notify you that, within <code>s</code>,
* the <code>count</code> characters beginning at <code>start</code>
* have just replaced old text that had length <code>before</code>.
* It is an error to attempt to make changes to <code>s</code> from
* this callback.
*/
@Override
default void afterTextChanged(Editable s) {}
}
|
package it.unica.pr2.risorseWeb;
import java.util.*;
public class PaginaWeb extends RisorsaWeb{
public PaginaWeb(String nome, String contenuto){
super(nome, contenuto);
}
}
|
/*
* UniTime 3.4 - 3.5 (University Timetabling Application)
* Copyright (C) 2012 - 2013, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package org.unitime.timetable.gwt.client.rooms;
import java.util.ArrayList;
import java.util.List;
import org.unitime.timetable.gwt.client.GwtHint;
import org.unitime.timetable.gwt.client.widgets.SimpleForm;
import org.unitime.timetable.gwt.command.client.GwtRpcService;
import org.unitime.timetable.gwt.command.client.GwtRpcServiceAsync;
import org.unitime.timetable.gwt.resources.GwtMessages;
import org.unitime.timetable.gwt.shared.RoomInterface;
import org.unitime.timetable.gwt.shared.RoomInterface.RoomPictureInterface;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.Timer;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.Widget;
/**
* @author Tomas Muller
*/
public class RoomHint {
private static long sLastLocationId = -1;
private static GwtRpcServiceAsync RPC = GWT.create(GwtRpcService.class);
private static final GwtMessages MESSAGES = GWT.create(GwtMessages.class);
private static boolean sShowHint = false;
private static Timer sLastSwapper = null;
public static Widget content(RoomInterface.RoomHintResponse room, String prefix, String distance) {
if (sLastSwapper != null) {
sLastSwapper.cancel(); sLastSwapper = null;
}
SimpleForm form = new SimpleForm();
form.removeStyleName("unitime-NotPrintableBottomLine");
if (prefix != null && prefix.contains("{0}")) {
String label = prefix.replace("{0}", room.getLabel());
if (prefix.contains("{1}"))
label = label.replace("{1}", room.hasDisplayName() ? room.getDisplayName() : room.hasRoomTypeLabel() ? room.getRoomTypeLabel() : "");
form.addRow(new Label(label, false));
} else {
form.addRow(new Label((prefix == null || prefix.isEmpty() ? "" : prefix + " ") + (room.hasDisplayName() || room.hasRoomTypeLabel() ? MESSAGES.label(room.getLabel(), room.hasDisplayName() ? room.getDisplayName() : room.getRoomTypeLabel()) : room.getLabel()), false));
}
List<String> urls = new ArrayList<String>();
if (room.hasMiniMapUrl()) {
urls.add(room.getMiniMapUrl());
}
if (room.hasPictures()) {
for (RoomPictureInterface picture: room.getPictures())
urls.add(GWT.getHostPageBaseURL() + "picture?id=" + picture.getUniqueId());
}
if (!urls.isEmpty()) {
Image image = new Image(urls.get(0));
image.setStyleName("minimap");
form.addRow(image);
if (urls.size() > 1) {
sLastSwapper = new ImageSwapper(image, urls);
sLastSwapper.scheduleRepeating(3000);
}
}
if (room.hasCapacity()) {
if (room.hasExamCapacity()) {
if (room.hasExamType()) {
form.addRow(MESSAGES.propRoomCapacity(), new Label(MESSAGES.capacityWithExamType(room.getCapacity().toString(), room.getExamCapacity().toString(), room.getExamType()), false));
} else {
form.addRow(MESSAGES.propRoomCapacity(), new Label(MESSAGES.capacityWithExam(room.getCapacity().toString(), room.getExamCapacity().toString()), false));
}
} else {
form.addRow(MESSAGES.propRoomCapacity(), new Label(MESSAGES.capacity(room.getCapacity().toString()), false));
}
}
if (room.hasArea())
form.addRow(MESSAGES.propRoomArea(), new HTML(room.getArea(), false));
if (room.hasFeatures())
for (String name: room.getFeatureNames())
form.addRow(name + ":", new Label(room.getFeatures(name)));
if (room.hasGroups())
form.addRow(MESSAGES.propRoomGroups(), new Label(room.getGroups()));
if (room.hasEventStatus())
form.addRow(MESSAGES.propRoomEventStatus(), new Label(room.getEventStatus()));
if (room.hasEventDepartment())
form.addRow(MESSAGES.propRoomEventDepartment(), new Label(room.getEventDepartment()));
if (room.hasBreakTime())
form.addRow(MESSAGES.propRoomBreakTime(), new Label(MESSAGES.breakTime(room.getBreakTime().toString())));
if (room.hasNote())
form.addRow(new HTML(room.getNote()));
if (room.isIgnoreRoomCheck())
form.addRow(new HTML(MESSAGES.ignoreRoomCheck()));
if (distance != null && !distance.isEmpty() && !"0".equals(distance))
form.addRow(MESSAGES.propRoomDistance(), new Label(MESSAGES.roomDistance(distance), false));
SimplePanel panel = new SimplePanel(form);
panel.setStyleName("unitime-RoomHint");
return panel;
}
/** Never use from GWT code */
public static void _showRoomHint(JavaScriptObject source, String locationId, String prefix, String distance) {
showHint((Element) source.cast(), Long.valueOf(locationId), prefix, distance, true);
}
public static void showHint(final Element relativeObject, final long locationId, final String prefix, final String distance, final boolean showRelativeToTheObject) {
sLastLocationId = locationId;
sShowHint = true;
RPC.execute(RoomInterface.RoomHintRequest.load(locationId), new AsyncCallback<RoomInterface.RoomHintResponse>() {
@Override
public void onFailure(Throwable caught) {
}
@Override
public void onSuccess(RoomInterface.RoomHintResponse result) {
if (result != null && locationId == sLastLocationId && sShowHint)
GwtHint.showHint(relativeObject, content(result, prefix, distance), showRelativeToTheObject);
}
});
}
public static void hideHint() {
sShowHint = false;
if (sLastSwapper != null) {
sLastSwapper.cancel(); sLastSwapper = null;
}
GwtHint.hideHint();
}
public static native void createTriggers()/*-{
$wnd.showGwtRoomHint = function(source, content, prefix, distance) {
@org.unitime.timetable.gwt.client.rooms.RoomHint::_showRoomHint(Lcom/google/gwt/core/client/JavaScriptObject;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)(source, content, prefix, distance);
};
$wnd.hideGwtRoomHint = function() {
@org.unitime.timetable.gwt.client.rooms.RoomHint::hideHint()();
};
}-*/;
private static class ImageSwapper extends Timer {
Image iImage;
List<String> iUrls;
int iIndex;
ImageSwapper(Image image, List<String> urls) {
iImage = image; iUrls = urls; iIndex = 0;
}
@Override
public void run() {
iIndex ++;
iImage.setUrl(iUrls.get(iIndex % iUrls.size()));
if (!iImage.isAttached()) cancel();
}
}
}
|
package tk.jimgao;
public class Component {
public String type;
public int x;
public int y;
public int[] cx = new int[2];
public int[] cy = new int[2];
public int width;
public int height;
public String param="";
public String orientation="";
public Component(String a, int b, int c, int d, int e) {
type = a;
x = b;
y = c;
width = d;
height = e;
orientation = width > height ? "horizontal" : "vertical";
if (type.equals("transistor") || orientation.equals("horizontal")) {
cx[0] = x;
cy[0] = y + height / 2;
cx[1] = x + width;
cy[1] = y + height / 2;
} else {
cx[0] = x + width / 2;
cy[0] = y;
cx[1] = x + width / 2;
cy[1] = y + height;
}
}
public double distanceTo(int xx, int yy) {
return Math.sqrt(Math.pow(x + width / 2 - xx, 2) + Math.pow(y + height / 2 - yy, 2));
}
}
|
package easyedit;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public class LineItem {
private final StringProperty desc = new SimpleStringProperty();
private final DoubleProperty amount = new SimpleDoubleProperty();
private final IntegerProperty sort = new SimpleIntegerProperty();
public StringProperty descProperty() {return desc;}
public DoubleProperty amountProperty() {return amount;}
public IntegerProperty sortProperty() {return sort;}
public LineItem(String dsc, double amt, int srt) {
desc.set(dsc); amount.set(amt); sort.set(srt);
}
} |
package com.diozero.devices;
/*-
* #%L
* Organisation: diozero
* Project: diozero - Core
* Filename: Ads1x15.java
*
* This file is part of the diozero project. More information about this project
* can be found at https://www.diozero.com/.
* %%
* Copyright (C) 2016 - 2023 diozero
* %%
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
* #L%
*/
import java.nio.ByteOrder;
import java.util.concurrent.atomic.AtomicBoolean;
import org.tinylog.Logger;
import com.diozero.api.AnalogInputEvent;
import com.diozero.api.DeviceInterface;
import com.diozero.api.DigitalInputDevice;
import com.diozero.api.I2CConstants;
import com.diozero.api.I2CDevice;
import com.diozero.api.PinInfo;
import com.diozero.api.RuntimeIOException;
import com.diozero.api.function.FloatConsumer;
import com.diozero.internal.spi.AbstractDeviceFactory;
import com.diozero.internal.spi.AbstractInputDevice;
import com.diozero.internal.spi.AnalogInputDeviceFactoryInterface;
import com.diozero.internal.spi.AnalogInputDeviceInterface;
import com.diozero.sbc.BoardPinInfo;
import com.diozero.util.RangeUtil;
import com.diozero.util.SleepUtil;
/**
* ADS1115 Datasheet: https://www.ti.com/lit/ds/symlink/ads1115.pdf ADS1015
* Datasheet: https://www.ti.com/lit/ds/symlink/ads1015.pdf
*
* <pre>
* Device | Resolution | Max Sample Rate | # Channels | Interface | Features
* ADS1115 | 16 | 860 | 2 (4) | I2C | Comparator
* ADS1114 | 16 | 860 | 1 (1) | I2C | Comparator
* ADS1015 | 12 | 3300 | 2 (4) | I2C | Comparator
* ADS1014 | 12 | 3300 | 1 (1) | I2C | Comparator
* ADS1118 | 16 | 860 | 2 (4) | SPI | Temp. sensor
* ADS1018 | 12 | 3300 | 2 (4) | SPI | Temp. sensor
* </pre>
*
* Wiring:
*
* <pre>
* A3 | A2 | A1 | A0 | ALERT | ADDR | SDA | SCL | G | V
* </pre>
*
* ADDR (In) - I2C slave address select ALERT (Out) - Comparator output or
* conversion ready (ADS1114 and ADS1115 only)
*
* ADDR - can be connected to GND, VDD, SDA, or SCL, allowing for four different
* addresses to be selected
*
* <pre>
* GND | 0b01001000 (0x48)
* VDD | 0b01001001 (0x49)
* SDA | 0b01001010 (0x4a)
* SCL | 0b01001011 (0x4b)
* </pre>
*/
public class Ads1x15 extends AbstractDeviceFactory implements AnalogInputDeviceFactoryInterface, DeviceInterface {
public static enum Model {
ADS1015(4), ADS1115(4);
private int numChannels;
private Model(int numChannels) {
this.numChannels = numChannels;
}
public int getNumChannels() {
return numChannels;
}
}
/**
* I2C address configuration
*/
public static enum Address {
GND(0b01001000), VDD(0b01001001), SDA(0b01001010), SCL(0b01001011);
private int value;
private Address(int value) {
this.value = value;
}
public int getValue() {
return value;
}
}
/**
* Number of samples per second
*/
public static enum Ads1015DataRate {
_128HZ(128, 0b000), _250HZ(250, 0b001), _490HZ(490, 0b010), _920HZ(920, 0b011), _1600HZ(1600, 0b100),
_2400HZ(2400, 0b101), _3300HZ(3300, 0b110);
private int dataRate;
private byte mask;
private Ads1015DataRate(int dataRate, int mask) {
this.dataRate = dataRate;
this.mask = (byte) (mask << CONFIG_LSB_DR_BIT_START);
}
public int getDataRate() {
return dataRate;
}
public byte getMask() {
return mask;
}
}
/**
* Number of samples per second
*/
public static enum Ads1115DataRate {
_8HZ(8, 0b000), _16HZ(16, 0b001), _32HZ(32, 0b010), _64HZ(64, 0b011), _128HZ(128, 0b100), _250HZ(250, 0b101),
_475HZ(475, 0b110), _860HZ(860, 0b111);
private int dataRate;
private byte mask;
private Ads1115DataRate(int dataRate, int mask) {
this.dataRate = dataRate;
this.mask = (byte) (mask << CONFIG_LSB_DR_BIT_START);
}
public int getDataRate() {
return dataRate;
}
public byte getMask() {
return mask;
}
}
/**
* Programmable Gain Amplifier configuration. Ensure that ADC input voltage does
* not exceed this value
*/
public static enum PgaConfig {
_6144MV(6.144f, 0b000), _4096MV(4.096f, 0b001), _2048MV(2.048f, 0b010), _1024MV(1.024f, 0b011),
_512MV(0.512f, 0b100), _256MV(0.256f, 0b101);
private float voltage;
private byte mask;
private PgaConfig(float voltage, int value) {
this.voltage = voltage;
this.mask = (byte) (value << CONFIG_MSB_PGA_BIT_START);
}
public float getVoltage() {
return voltage;
}
public byte getMask() {
return mask;
}
}
/**
* Read mode - continuous or single
*/
public static enum Mode {
SINGLE(CONFIG_MSB_MODE_SINGLE), CONTINUOUS(0);
private byte mask;
private Mode(int mask) {
this.mask = (byte) mask;
}
public byte getMask() {
return mask;
}
}
public static enum ComparatorMode {
TRADITIONAL(0), WINDOW(CONFIG_LSB_COMP_MODE_WINDOW);
private byte mask;
private ComparatorMode(int mask) {
this.mask = (byte) mask;
}
public byte getMask() {
return mask;
}
}
public static enum ComparatorPolarity {
ACTIVE_LOW(0), ACTIVE_HIGH(CONFIG_LSB_COMP_POL_ACTIVE_HIGH);
private byte mask;
private ComparatorPolarity(int mask) {
this.mask = (byte) mask;
}
public byte getMask() {
return mask;
}
}
/**
* Comparator queue configuration
*/
public static enum ComparatorQueue {
ASSERT_ONE_CONV(0b00), ASSERT_TWO_CONV(0b01), ASSERT_FOUR_CONV(0b10), DISABLE(0b11);
private byte mask;
private ComparatorQueue(int mask) {
this.mask = (byte) mask;
}
public byte getMask() {
return mask;
}
}
private static final Address DEFAULT_ADDRESS = Address.GND;
// The device has four registers that are selected by specifying the Address
// Pointer Register
private static final byte ADDR_POINTER_CONV = 0b00;
private static final byte ADDR_POINTER_CONFIG = 0b01;
private static final byte ADDR_POINTER_LO_THRESH = 0b10;
private static final byte ADDR_POINTER_HIGH_THRESH = 0b11;
// When the MODE bit in the config register is set to 1 the device enters
// power-down state and operates in single-shot mode. The devices remains in
// power-down state until 1 is written to the Operational Status (OS) bit. To
// switch to continuous-conversion mode, write a 0 to the MODE bit in the Config
// register.
// Operational Status bit [15] (Write: 0 = No effect, 1 = Single; Read: 0 =
// Busy, 1 = Ready)
private static final int CONFIG_MSB_OS_SINGLE = 1 << 7;
// Input multiplexer
private static final int CONFIG_MSB_MUX_BIT_START = 4;
private static final byte CONFIG_MSB_MUX_COMP_OFF = 0b100 << CONFIG_MSB_MUX_BIT_START;
private static final int CONFIG_MSB_PGA_BIT_START = 1;
// Device operating mode
// 0 : Continuous-conversion mode
// 1 : Single-shot mode or power-down state (default)
private static final int CONFIG_MSB_MODE_SINGLE = 1 << 0;
private static final int CONFIG_LSB_DR_BIT_START = 5;
// Comparator mode
// 0 : Traditional comparator (default)
// 1 : Window comparator
private static final int CONFIG_LSB_COMP_MODE_WINDOW = 1 << 4;
// Comparator polarity
// 0 : Active low (default)
// 1 : Active high
private static final int CONFIG_LSB_COMP_POL_ACTIVE_HIGH = 1 << 3;
// Latching comparator
// 0 : Nonlatching comparator . The ALERT/RDY pin does not latch when asserted
// (default).
// 1 : Latching comparator. The asserted ALERT/RDY pin remains latched until
// conversion data are read by the master or an appropriate SMBus alert response
// is sent by the master. The device responds with its address, and it is the
// lowest address currently asserting the ALERT/RDY bus line.
private static final int CONFIG_LSB_COMP_LATCHING = 1 << 2;
private I2CDevice device;
private Model model;
private BoardPinInfo boardPinInfo;
private PgaConfig pgaConfig;
private int dataRate;
private Mode mode;
private int dataRateSleepMillis;
private byte dataRateMask;
private ComparatorMode comparatorMode;
private ComparatorPolarity comparatorPolarity;
private boolean latchingComparator;
private ComparatorQueue comparatorQueue;
// For continuous mode
private AtomicBoolean gettingValues;
private DigitalInputDevice readyPin;
private float lastResult;
/**
*
* @param pgaConfig Programmable Gain Amplifier configuration - make sure this
* is set correctly and that the ADC input voltage does not
* exceed this value
* @param dataRate Data read frequency (Hz)
*/
public Ads1x15(PgaConfig pgaConfig, Ads1115DataRate dataRate) {
this(I2CConstants.CONTROLLER_1, DEFAULT_ADDRESS, pgaConfig, dataRate);
}
public Ads1x15(int controller, Address address, PgaConfig pgaConfig, Ads1115DataRate adsDataRate) {
this(controller, Model.ADS1115, address, pgaConfig, adsDataRate.getDataRate(), adsDataRate.getMask());
}
public Ads1x15(PgaConfig pgaConfig, Ads1015DataRate dataRate) {
this(I2CConstants.CONTROLLER_1, DEFAULT_ADDRESS, pgaConfig, dataRate);
}
public Ads1x15(int controller, Address address, PgaConfig pgaConfig, Ads1015DataRate ads1015DataRate) {
this(controller, Model.ADS1015, address, pgaConfig, ads1015DataRate.getDataRate(), ads1015DataRate.getMask());
}
private Ads1x15(int controller, Model model, Address address, PgaConfig pgaConfig, int dataRate,
byte dataRateMask) {
super(Model.ADS1015.name() + "-" + controller + "-" + address.getValue());
this.model = model;
this.pgaConfig = pgaConfig;
this.mode = Mode.SINGLE;
setDataRate(dataRate, dataRateMask);
comparatorMode = ComparatorMode.TRADITIONAL;
comparatorPolarity = ComparatorPolarity.ACTIVE_LOW;
latchingComparator = false;
comparatorQueue = ComparatorQueue.DISABLE;
boardPinInfo = new Ads1x15BoardPinInfo(model, pgaConfig.getVoltage());
device = I2CDevice.builder(address.getValue()).setController(controller).setByteOrder(ByteOrder.BIG_ENDIAN)
.build();
}
@Override
public String getName() {
return model.name() + "-" + device.getController() + "-" + device.getAddress();
}
@Override
public BoardPinInfo getBoardPinInfo() {
return boardPinInfo;
}
@Override
public AnalogInputDeviceInterface createAnalogInputDevice(String key, PinInfo pinInfo) {
return new Ads1x15AnalogInputDevice(this, key, pinInfo.getDeviceNumber());
}
@Override
public void close() {
Logger.trace("close()");
// Close all open pins before closing the I2C device itself
super.close();
device.close();
}
public Model getModel() {
return model;
}
public PgaConfig getPgaConfig() {
return pgaConfig;
}
public int getDataRate() {
return dataRate;
}
public void setDataRate(Ads1115DataRate ads1115DataRate) {
if (model != Model.ADS1115) {
throw new IllegalArgumentException(
"Invalid model (" + model + "). Ads1115DataRate can only be used with the ADS1115");
}
setDataRate(ads1115DataRate.getDataRate(), ads1115DataRate.getMask());
}
public void setDataRate(Ads1015DataRate ads1015DataRate) {
if (model != Model.ADS1015) {
throw new IllegalArgumentException(
"Invalid model (" + model + "). Ads1015DataRate can only be used with the ADS1015");
}
setDataRate(ads1015DataRate.getDataRate(), ads1015DataRate.getMask());
}
public void setContinousMode(DigitalInputDevice readyPin, int adcNumber, FloatConsumer callback) {
gettingValues = new AtomicBoolean(false);
mode = Mode.CONTINUOUS;
comparatorPolarity = ComparatorPolarity.ACTIVE_HIGH;
comparatorQueue = ComparatorQueue.ASSERT_ONE_CONV;
setConfig(adcNumber);
/*-
* The ALERT/RDY pin can also be configured as a conversion ready pin.
* Set the most-significant bit of the Hi_thresh register to 1 and the
* most-significant bit of Lo_thresh register to 0 to enable the pin
* as a conversion ready pin. The COMP_POL bit continues to function
* as expected. Set the COMP_QUE[1:0] bits to any 2-bit value other
* than 11 to keep the ALERT/RDY pin enabled, and allow the conversion
* ready signal to appear at the ALERT/RDY pin output. The COMP_MODE
* and COMP_LAT bits no longer control any function. When configured
* as a conversion ready pin, ALERT/RDY continues to require a
* pull-up resistor.
*/
// SleepUtil.sleepMillis(1);
device.writeI2CBlockData(ADDR_POINTER_HIGH_THRESH, (byte) 0x80, (byte) 0x00);
// SleepUtil.sleepMillis(1);
device.writeI2CBlockData(ADDR_POINTER_LO_THRESH, (byte) 0x00, (byte) 0x00);
this.readyPin = readyPin;
readyPin.whenActivated(nanoTime -> {
lastResult = RangeUtil.map(readConversionData(adcNumber), 0, Short.MAX_VALUE, 0, 1f);
callback.accept(lastResult);
});
readyPin.whenDeactivated(nanoTime -> Logger.debug("Deactive!!!"));
}
public float getLastResult() {
return lastResult;
}
public void setSingleMode(int adcNumber) {
this.mode = Mode.SINGLE;
comparatorPolarity = ComparatorPolarity.ACTIVE_LOW;
comparatorQueue = ComparatorQueue.DISABLE;
if (readyPin != null) {
readyPin.whenActivated(null);
readyPin.whenDeactivated(null);
readyPin = null;
}
setConfig(adcNumber);
}
private void setDataRate(int dataRate, byte dataRateMask) {
this.dataRate = dataRate;
this.dataRateSleepMillis = Math.max(1_000 / dataRate, 1);
this.dataRateMask = dataRateMask;
}
public float getValue(int adcNumber) {
Logger.debug("Reading channel {}, mode={}", Integer.valueOf(adcNumber), mode);
// TODO Protect against concurrent reads
if (mode == Mode.SINGLE) {
setConfig(adcNumber);
SleepUtil.sleepMillis(dataRateSleepMillis);
} else if (readyPin != null) {
return lastResult;
}
return RangeUtil.map(readConversionData(adcNumber), 0, Short.MAX_VALUE, 0, 1f);
}
protected void setConfig(int adcNumber) {
byte config_msb = (byte) (CONFIG_MSB_OS_SINGLE | CONFIG_MSB_MUX_COMP_OFF
| (adcNumber << CONFIG_MSB_MUX_BIT_START) | pgaConfig.getMask() | mode.getMask());
byte config_lsb = (byte) (dataRateMask | comparatorMode.getMask() | comparatorPolarity.getMask()
| (latchingComparator ? CONFIG_LSB_COMP_LATCHING : 0) | comparatorQueue.getMask());
device.writeI2CBlockData(ADDR_POINTER_CONFIG, config_msb, config_lsb);
Logger.trace("msb: 0x{}, lsb: 0x{}", Integer.toHexString(config_msb & 0xff),
Integer.toHexString(config_lsb & 0xff));
}
private short readConversionData(int adcNumber) {
// byte[] data = device.readI2CBlockDataByteArray(ADDR_POINTER_CONV, 2);
// short value = (short) ((data[0] & 0xff) << 8 | (data[1] & 0xff));
short value = device.readShort(ADDR_POINTER_CONV);
if (model == Model.ADS1015) {
value >>= 4;
}
return value;
}
private static class Ads1x15BoardPinInfo extends BoardPinInfo {
public Ads1x15BoardPinInfo(Model model, float adcVRef) {
for (int i = 0; i < model.getNumChannels(); i++) {
addAdcPinInfo(i, i, adcVRef);
}
}
}
private static final class Ads1x15AnalogInputDevice extends AbstractInputDevice<AnalogInputEvent>
implements AnalogInputDeviceInterface {
private Ads1x15 ads1x15;
private int adcNumber;
public Ads1x15AnalogInputDevice(Ads1x15 ads1x15, String key, int adcNumber) {
super(key, ads1x15);
this.ads1x15 = ads1x15;
this.adcNumber = adcNumber;
}
@Override
protected void closeDevice() {
Logger.trace("closeDevice() {}", getKey());
ads1x15.setConfig(adcNumber);
}
/**
* {@inheritDoc}
*/
@Override
public float getValue() throws RuntimeIOException {
return ads1x15.getValue(adcNumber);
}
/**
* {@inheritDoc}
*/
@Override
public int getAdcNumber() {
return adcNumber;
}
}
@SuppressWarnings("boxing")
public static void main(String[] args) {
for (Ads1115DataRate dr : Ads1115DataRate.values()) {
int data_rate = dr.getDataRate();
int sleep_ms = 1_000 / data_rate;
int sleep_us = 1_000_000 / data_rate;
int sleep_ns = 1_000_000_000 / data_rate;
System.out.format("DR: %s, %dms, %dus, %dns%n", data_rate, sleep_ms, sleep_us, sleep_ns);
}
for (Ads1015DataRate dr : Ads1015DataRate.values()) {
int data_rate = dr.getDataRate();
int sleep_ms = 1_000 / data_rate;
int sleep_us = 1_000_000 / data_rate;
int sleep_ns = 1_000_000_000 / data_rate;
System.out.format("DR: %s, %dms, %dus, %dns%n", data_rate, sleep_ms, sleep_us, sleep_ns);
}
}
}
|
package com.example.firebase;
import java.io.Serializable;
public class SinhVienFirebase implements Serializable {
private String maSinhVien;
private String tenSinhVien;
private String urlImage;
public SinhVienFirebase(String maSinhVien, String tenSinhVien, String urlImage) {
this.maSinhVien = maSinhVien;
this.tenSinhVien = tenSinhVien;
this.urlImage = urlImage;
}
public SinhVienFirebase() {
}
public String getMaSinhVien() {
return maSinhVien;
}
public void setMaSinhVien(String maSinhVien) {
this.maSinhVien = maSinhVien;
}
public String getTenSinhVien() {
return tenSinhVien;
}
public void setTenSinhVien(String tenSinhVien) {
this.tenSinhVien = tenSinhVien;
}
public String getUrlImage() {
return urlImage;
}
public void setUrlImage(String urlImage) {
this.urlImage = urlImage;
}
}
|
package com.forthorn.projecting.func.picture;
/**
* Created by: Forthorn
* Date: 10/28/2017.
* Description:
*/
public class PictureManager {
}
|
package com.dajevv.soap.api;
import com.dajevv.soap.components.LoansRepository;
import com.dajevv.soap.loaneligibility.GetLoanResponse;
import com.dajevv.soap.loaneligibility.Loan;
import com.dajevv.soap.loaneligibility.PayLoanRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ws.server.endpoint.annotation.Endpoint;
import org.springframework.ws.server.endpoint.annotation.PayloadRoot;
import org.springframework.ws.server.endpoint.annotation.RequestPayload;
import org.springframework.ws.server.endpoint.annotation.ResponsePayload;
@Endpoint
public class PayLoanEndpoint {
private static final String NAMESPACE = "http://www.dajevv.com/soap/loanEligibility";
private LoansRepository loansRepository;
@Autowired
public PayLoanEndpoint(LoansRepository loansRepository) {
this.loansRepository = loansRepository;
}
@PayloadRoot(namespace = NAMESPACE, localPart = "payLoanRequest")
@ResponsePayload
public GetLoanResponse updateLoan(@RequestPayload PayLoanRequest request) {
GetLoanResponse response = new GetLoanResponse();
Loan editableLoan = loansRepository.getLoan(request.getName());
if (editableLoan != null) {
long value = editableLoan.getAmountLeft() - Math.abs(request.getValue());
if (value < 0) {
value = 0;
}
editableLoan.setAmountLeft(value);
editableLoan.setNoRatesLeft(editableLoan.getNoRatesLeft() - 1);
loansRepository.setLoan(request.getName(), editableLoan);
response.setLoan(editableLoan);
}
return response;
}
}
|
package org.yggard.brokkgui.shape;
import org.yggard.brokkgui.internal.IGuiRenderer;
import org.yggard.brokkgui.paint.Color;
import org.yggard.brokkgui.paint.EGuiRenderPass;
import org.yggard.brokkgui.paint.Texture;
public class Rectangle extends GuiShape
{
public Rectangle(final float xLeft, final float yLeft, final float width, final float height)
{
this.setxTranslate(xLeft);
this.setyTranslate(yLeft);
this.setWidth(width);
this.setHeight(height);
}
public Rectangle(final float width, final float height)
{
this(0, 0, width, height);
}
public Rectangle()
{
this(0, 0, 0, 0);
}
@Override
public void renderNode(final IGuiRenderer renderer, final EGuiRenderPass pass, final int mouseX, final int mouseY)
{
if (pass == EGuiRenderPass.MAIN)
{
if (this.getLineWeight() > 0)
renderer.getHelper().drawColoredEmptyRect(renderer, this.getxPos() + this.getxTranslate(),
this.getyPos() + this.getyTranslate(), this.getWidth(), this.getHeight(), this.getzLevel(),
this.getLineColor(), this.getLineWeight());
if (this.getFill() instanceof Color && ((Color) this.getFill()).getAlpha() != 0)
renderer.getHelper().drawColoredRect(renderer, this.getxPos() + this.getxTranslate(),
this.getyPos() + this.getyTranslate(), this.getWidth(), this.getHeight(), this.getzLevel(),
(Color) this.getFill());
else if (this.getFill() instanceof Texture)
{
final Texture texture = (Texture) this.getFill();
renderer.getHelper().bindTexture(texture);
renderer.getHelper().drawTexturedRect(renderer, this.getxPos() + this.getxTranslate(),
this.getyPos() + this.getyTranslate(), texture.getUMin(), texture.getVMin(), texture.getUMax(),
texture.getVMax(), this.getWidth(), this.getHeight(), this.getzLevel());
}
}
}
} |
package com.sinata.rwxchina.component_basic.basic.basicgroup;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.google.gson.Gson;
import com.sinata.rwxchina.basiclib.base.BaseGoodsInfo;
import com.sinata.rwxchina.basiclib.basic.basicGroup.GroupEntity;
import com.sinata.rwxchina.basiclib.basic.basicGroup.GroupListActivity;
import com.sinata.rwxchina.basiclib.entity.BaseShopInfo;
import com.sinata.rwxchina.basiclib.payment.entity.SinglePayment;
import com.sinata.rwxchina.basiclib.view.DividerRecyclerItemDecoration;
import com.sinata.rwxchina.component_basic.R;
import com.sinata.rwxchina.component_basic.basic.basicgroupdetail.GroupDetailActivity;
import java.util.ArrayList;
import java.util.List;
/**
* @author HRR
* @datetime 2017/12/15
* @describe 所有分类店铺套餐工具类
* @modifyRecord
*/
public class GroupUtils {
/**
* 设置店铺内套餐
* @param view 代金券布局view
* @param context 上下文环境
* @param groupEntityList 代金券集合
*/
public static void setGroup(View view, final Context context, final List<BaseGoodsInfo> groupEntityList, final BaseShopInfo shopInfo){
List<BaseGoodsInfo> groupEntities=new ArrayList<BaseGoodsInfo>();
TextView more=view.findViewById(R.id.group_more);
LinearLayout diver=view.findViewById(R.id.basic_group_diver);
LinearLayout moreLL=view.findViewById(R.id.basic_group_more);
RecyclerView recyclerView=view.findViewById(R.id.health_group);
recyclerView.setLayoutManager(new LinearLayoutManager(context));
//如果套餐商品为空或者长度为0,则隐藏
if (groupEntityList==null||groupEntityList.size()==0){
view.setVisibility(View.GONE);
return;
}
if (groupEntityList.size()<=3){
diver.setVisibility(View.GONE);
moreLL.setVisibility(View.GONE);
}
//在店铺页面最多只展示三个套餐
if (groupEntityList.size()>3){
for (int i=0;i<3;i++){
groupEntities.add(groupEntityList.get(i));
}
}else {
groupEntities.addAll(groupEntityList);
}
GroupAdapter adapter=new GroupAdapter(context,R.layout.item_basic_group,groupEntities);
recyclerView.setAdapter(adapter);
recyclerView.addItemDecoration(new DividerRecyclerItemDecoration(context,LinearLayoutManager.HORIZONTAL,2,context.getResources().getColor(com.sinata.rwxchina.component_basic.R.color.background)));
adapter.setOnItemClickListener(new BaseQuickAdapter.OnItemClickListener() {
@Override
public void onItemClick(BaseQuickAdapter adapter, View view, int position) {
String group=new Gson().toJson(groupEntityList.get(position));
String shop=new Gson().toJson(shopInfo);
Intent intent=new Intent(context, GroupDetailActivity.class);
intent.putExtra("group",group);
intent.putExtra("shop",shop);
context.startActivity(intent);
}
});
more.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String shop=new Gson().toJson(shopInfo);
Intent intent=new Intent(context, GroupListActivity.class);
intent.putExtra("shopId",shopInfo.getShopid());
intent.putExtra("shop",shop);
context.startActivity(intent);
}
});
}
}
|
package suppliercommercialscore;
import java.util.*;
import java.io.Serializable;
import de.hybris.platform.util.*;
import de.hybris.platform.core.*;
import de.hybris.platform.jalo.JaloBusinessException;
import de.hybris.platform.jalo.type.*;
import de.hybris.platform.persistence.type.*;
import de.hybris.platform.persistence.enumeration.*;
import de.hybris.platform.persistence.property.PersistenceManager;
import de.hybris.platform.persistence.*;
/**
* Generated by hybris Platform.
*/
@SuppressWarnings({"cast","unused","boxing","null", "PMD"})
public class GeneratedTypeInitializer extends AbstractTypeInitializer
{
/**
* Generated by hybris Platform.
*/
public GeneratedTypeInitializer( ManagerEJB manager, Map params )
{
super( manager, params );
}
/**
* Generated by hybris Platform.
*/
@Override
protected void performRemoveObjects( ManagerEJB manager, Map params ) throws JaloBusinessException
{
// no-op by now
}
/**
* Generated by hybris Platform.
*/
@Override
protected final void performCreateTypes( final ManagerEJB manager, Map params ) throws JaloBusinessException
{
// performCreateTypes
createItemType(
"AbstractCommercialDefinition",
"AbstractTravelogixItem",
com.cnk.travelogix.supplier.commercials.core.jalo.AbstractCommercialDefinition.class,
"de.hybris.platform.persistence.suppliercommercialscore_AbstractCommercialDefinition",
false,
null,
false
);
createItemType(
"SupplierStandardCommercial",
"AbstractCommercialDefinition",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierStandardCommercial.class,
null,
false,
null,
false
);
createItemType(
"SupplierAdvanceCommercial",
"SupplierStandardCommercial",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierAdvanceCommercial.class,
null,
false,
null,
false
);
createItemType(
"SupplierGeneralCommercial",
"SupplierAdvanceCommercial",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierGeneralCommercial.class,
null,
false,
null,
false
);
createItemType(
"SupplierRemittanceCommercial",
"SupplierGeneralCommercial",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierRemittanceCommercial.class,
null,
false,
null,
false
);
createItemType(
"SupplierLookToBookCommercial",
"SupplierAdvanceCommercial",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierLookToBookCommercial.class,
null,
false,
null,
false
);
createItemType(
"SupplierIncentiveOnTopupCommercial",
"SupplierAdvanceCommercial",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierIncentiveOnTopupCommercial.class,
null,
false,
null,
false
);
createItemType(
"SupplierMSFFeeCommercial",
"SupplierAdvanceCommercial",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierMSFFeeCommercial.class,
null,
false,
null,
false
);
createItemType(
"SupplierOtherFeeCommercial",
"SupplierAdvanceCommercial",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierOtherFeeCommercial.class,
null,
false,
null,
false
);
createItemType(
"SupplierPenaltyKickbackCommercial",
"SupplierAdvanceCommercial",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierPenaltyKickbackCommercial.class,
null,
false,
null,
false
);
createItemType(
"SupplierSignUpBonusCommercial",
"SupplierAdvanceCommercial",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierSignUpBonusCommercial.class,
null,
false,
null,
false
);
createItemType(
"SupplierTerminationFeeCommercial",
"SupplierAdvanceCommercial",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierTerminationFeeCommercial.class,
null,
false,
null,
false
);
createItemType(
"SupplierFOCCommercial",
"SupplierAdvanceCommercial",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierFOCFeeCommercial.class,
null,
false,
null,
false
);
createItemType(
"AbstractCommercialRecord",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.jalo.AbstractCommercialRecord.class,
"de.hybris.platform.persistence.suppliercommercialscore_AbstractCommercialRecord",
false,
null,
true
);
createItemType(
"CommercialProductInfo",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.jalo.CommercialProductInfo.class,
"de.hybris.platform.persistence.suppliercommercialscore_CommercialProductInfo",
false,
null,
false
);
createItemType(
"BusProductInfo",
"CommercialProductInfo",
com.cnk.travelogix.supplier.commercials.core.jalo.BusProductInfo.class,
null,
false,
null,
false
);
createItemType(
"RailProductInfo",
"CommercialProductInfo",
com.cnk.travelogix.supplier.commercials.core.jalo.RailProductInfo.class,
null,
false,
null,
false
);
createItemType(
"GeneralCommercialRecord",
"AbstractCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.jalo.GeneralCommercialRecord.class,
null,
false,
null,
false
);
createItemType(
"SupplierStandardCommercialRecord",
"GeneralCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierStandardCommercialRecord.class,
null,
false,
null,
false
);
createItemType(
"SupplierGeneralCommercialRecord",
"GeneralCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierGeneralCommercialRecord.class,
null,
false,
null,
false
);
createItemType(
"SupplierRemittanceCommercialRecord",
"GeneralCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.jalo.SupplierRemittanceCommercialRecord.class,
null,
false,
null,
false
);
createItemType(
"AbstractCommercialValue",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.jalo.AbstractCommercialValue.class,
"de.hybris.platform.persistence.suppliercommercialscore_AbstractCommercialValue",
false,
null,
true
);
createItemType(
"FixedCommercialValue",
"AbstractCommercialValue",
com.cnk.travelogix.supplier.commercials.core.jalo.FixedCommercialValue.class,
null,
false,
null,
false
);
createItemType(
"FixValues",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.jalo.FixValues.class,
"de.hybris.platform.persistence.suppliercommercialscore_FixValues",
false,
null,
false
);
createItemType(
"SlabCommercialValue",
"AbstractCommercialValue",
com.cnk.travelogix.supplier.commercials.core.jalo.SlabCommercialValue.class,
null,
false,
null,
false
);
createItemType(
"CommercialValueRange",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.jalo.CommercialValueRange.class,
"de.hybris.platform.persistence.suppliercommercialscore_CommercialValueRange",
false,
null,
false
);
createItemType(
"CommercialRateTypeDetail",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.jalo.CommercialRateTypeDetail.class,
"de.hybris.platform.persistence.suppliercommercialscore_CommercialRateTypeDetail",
false,
null,
false
);
createItemType(
"SupplierFOCCommercialRecord",
"AbstractCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.advanced.foc.jalo.SupplierFOCCommercialRecord .class,
"de.hybris.platform.persistence.suppliercommercialscore_SupplierFOCCommercialRecord",
false,
null,
false
);
createItemType(
"FOCRecord",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.advanced.foc.jalo.FOCRecord .class,
"de.hybris.platform.persistence.suppliercommercialscore_FOCRecord",
false,
null,
false
);
createItemType(
"FlightFOCRecord",
"FOCRecord",
com.cnk.travelogix.supplier.commercials.core.advanced.foc.jalo.FlightFOCRecord.class,
"de.hybris.platform.persistence.suppliercommercialscore_FlightFOCRecord",
false,
null,
false
);
createItemType(
"AccoFOCRecord",
"FOCRecord",
com.cnk.travelogix.supplier.commercials.core.advanced.foc.jalo.AccoFOCRecord.class,
"de.hybris.platform.persistence.suppliercommercialscore_AccoFOCRecord",
false,
null,
false
);
createItemType(
"SupplierPenaltyKickBackCommercialRecord",
"AbstractCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.advanced.penalty.jalo.SupplierPenaltyKickBackCommercialRecord.class,
null,
false,
null,
false
);
createItemType(
"PenaltyCriteria",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.advanced.penalty.jalo.PenaltyCriteria.class,
"de.hybris.platform.persistence.suppliercommercialscore_PenaltyCriteria",
false,
null,
false
);
createItemType(
"SupplierTerminationFeeCommercialRecord",
"AbstractCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.advanced.termination.jalo.SupplierTerminationFeeCommercialRecord.class,
null,
false,
null,
false
);
createItemType(
"ReturnOfPayable",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.advanced.termination.jalo.ReturnOfPayable.class,
"de.hybris.platform.persistence.suppliercommercialscore_ReturnOfPayable",
false,
null,
false
);
createItemType(
"SupplierIncentiveOnTopupRecord",
"AbstractCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.advanced.incentiveontopup.jalo.SupplierIncentiveOnTopupRecord.class,
null,
false,
null,
false
);
createItemType(
"TopupDetail",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.advanced.incentiveontopup.jalo.TopupDetail.class,
"de.hybris.platform.persistence.suppliercommercialscore_TopupDetail",
false,
null,
false
);
createItemType(
"SupplierMSFFeeRecord",
"AbstractCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.advanced.msf.jalo.SupplierMSFFeeRecord.class,
null,
false,
null,
false
);
createItemType(
"SupplierLookToBookCommercialRecord",
"AbstractCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.advanced.looktobook.jalo.SupplierLookToBookCommercialRecord.class,
null,
false,
null,
false
);
createItemType(
"LookToBookRatio",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.advanced.looktobook.jalo.LookToBookRatio.class,
"de.hybris.platform.persistence.suppliercommercialscore_LookToBookRatio",
false,
null,
false
);
createItemType(
"SupplierSignUpBonusCommercialRecord",
"AbstractCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.advanced.signupbonus.jalo.SupplierSignUpBonusCommercialRecord.class,
null,
false,
null,
false
);
createItemType(
"SignupBonusCriteria",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.advanced.signupbonus.jalo.SignupBonusCriteria.class,
"de.hybris.platform.persistence.suppliercommercialscore_SignupBonusCriteria",
false,
null,
false
);
createItemType(
"SupplierOtherFeeCommercialRecord",
"AbstractCommercialRecord",
com.cnk.travelogix.supplier.commercials.core.advanced.otherfee.jalo.SupplierOtherFeeCommercialRecord.class,
null,
false,
null,
false
);
createItemType(
"DynamicFeeConfig",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.advanced.otherfee.jalo.DynamicFeeConfig.class,
"de.hybris.platform.persistence.suppliercommercialscore_DynamicFeeConfig",
false,
null,
false
);
createItemType(
"PaymentAdviceForOtherFee",
"AbstractTravelogixItem",
com.cnk.travelogix.supplier.commercials.core.advanced.otherfee.paymentadvice.jalo.PaymentAdviceForOtherFee.class,
"de.hybris.platform.persistence.suppliercommercialscore_PaymentAdviceForOtherFee",
false,
null,
false
);
createItemType(
"SupplierCommercialAdvanceDefinition",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.SupplierCommercialAdvanceDefinition.class,
null,
false,
null,
true
);
createItemType(
"AbstractAdvDefConfig",
"GenericItem",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.config.jalo.AbstractAdvDefConfig.class,
"de.hybris.platform.persistence.suppliercommercialscore_AbstractAdvDefConfig",
false,
null,
true
);
createItemType(
"CommercialsValidityConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.validity.CommercialsValidity.class,
null,
false,
null,
false
);
createItemType(
"SupCommAdvDefPassengerConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.passenger.SupCommAdvDefPassengerConfig.class,
null,
false,
null,
false
);
createItemType(
"AirSupplierAdvanceDefinition",
"SupplierCommercialAdvanceDefinition",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.air.AirSupplierAdvanceDefinition.class,
null,
false,
null,
false
);
createItemType(
"TravelDestinationConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.air.inclusionexclusion.TravelDestinationConfig.class,
null,
false,
null,
false
);
createItemType(
"AirTravelDestinationConfig",
"TravelDestinationConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.air.inclusionexclusion.AirTravelDestinationConfig.class,
null,
false,
null,
false
);
createItemType(
"FlightTimingsConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.air.flight.inclusionexclusion.FlightTimingsConfig.class,
null,
false,
null,
false
);
createItemType(
"FlightNumbersConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.air.flight.inclusionexclusion.FlightNumbersConfig.class,
null,
false,
null,
false
);
createItemType(
"BookingClassesConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.air.inclusionexclusion.BookingClassConfig.class,
null,
false,
null,
false
);
createItemType(
"FareClassesConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.air.inclusionexclusion.FareBasisConfig.class,
null,
false,
null,
false
);
createItemType(
"DealCodeConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.air.inclusionexclusion.DealCodeConfig.class,
null,
false,
null,
false
);
createItemType(
"AccoSupplierAdvanceDefinition",
"SupplierCommercialAdvanceDefinition",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.accommodation.AccoSupplierAdvanceDefinition.class,
null,
false,
null,
false
);
createItemType(
"RoomTypeConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.accommodation.room.RoomTypeConfig.class,
null,
false,
null,
false
);
createItemType(
"RoomCategoryConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.accommodation.room.RoomCategoryConfig.class,
null,
false,
null,
false
);
createItemType(
"ClientNationalityConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.accommodation.nationality.ClientNationalityConfig.class,
null,
false,
null,
false
);
createItemType(
"ActivitySupplierAdvanceDefinition",
"SupplierCommercialAdvanceDefinition",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.activity.ActivitySupplierAdvanceDefinition.class,
null,
false,
null,
false
);
createItemType(
"TransportSupplierAdvanceDefinition",
"SupplierCommercialAdvanceDefinition",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.transport.TransportSupplierAdvanceDefinition.class,
null,
false,
null,
false
);
createItemType(
"VehicleConfig",
"AbstractAdvDefConfig",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.transport.VehicleConfig.class,
null,
false,
null,
false
);
createItemType(
"HolidaySupplierAdvanceDefinition",
"AccoSupplierAdvanceDefinition",
com.cnk.travelogix.supplier.commercials.core.advancedefinition.jalo.holidays.HolidaySupplierAdvanceDefinition.class,
null,
false,
null,
false
);
createRelationType(
"SupComlDef2SupMarketRel",
"de.hybris.platform.persistence.link.suppliercommercialscore_SupComlDef2SupMarketRel",
false
);
createRelationType(
"genCommercialrcd2ProductInfos",
"de.hybris.platform.persistence.link.suppliercommercialscore_genCommercialrcd2ProductInfos",
false
);
createRelationType(
"Commercial2Product",
"de.hybris.platform.persistence.link.suppliercommercialscore_Commercial2Product",
false
);
createRelationType(
"CommercialRecord2MediaRel",
null,
true
);
createRelationType(
"Slab2FixedCommercialValue",
null,
true
);
createRelationType(
"GeneralCommercial2Principal",
"de.hybris.platform.persistence.link.suppliercommercialscore_GeneralCommercial2Principal",
false
);
createRelationType(
"AbstractCom2RateTypeDetail",
null,
true
);
createRelationType(
"genCom2IATAAgency",
"de.hybris.platform.persistence.link.suppliercommercialscore_genCom2IATAAgency",
false
);
createRelationType(
"Commercial2TravelogixPolicy",
"de.hybris.platform.persistence.link.suppliercommercialscore_Commercial2TravelogixPolicy",
false
);
createRelationType(
"Commercial2AdvDefRel",
null,
true
);
createRelationType(
"BusProductInfo2Route",
null,
true
);
createRelationType(
"BusProductInfo2Operator",
null,
true
);
createRelationType(
"RailProductInfo2IncCountries",
null,
true
);
createRelationType(
"RailProductInfo2ExcCountries",
null,
true
);
createRelationType(
"PKCommercial2PenaltyCriteria",
null,
true
);
createRelationType(
"TermnCom2ReturnOfPayable",
null,
true
);
createRelationType(
"IncentiveOnTopup2Detail",
null,
true
);
createRelationType(
"IncentiveOnTopup2Trigger",
null,
true
);
createRelationType(
"MSFFee2PaymentMode",
null,
true
);
createRelationType(
"MSFFee2CreditCardType",
null,
true
);
createRelationType(
"IncentiveOnTopupCommercial2RateTypeDetail",
null,
true
);
createRelationType(
"LookToBookCommercial2Ratio",
null,
true
);
createRelationType(
"SignupBonusCommercial2Criteria",
null,
true
);
createRelationType(
"OtherFee2DynamicConfig",
null,
true
);
createRelationType(
"OtherFee2ProdCatSubType",
"de.hybris.platform.persistence.link.suppliercommercialscore_OtherFee2ProdCatSubType",
false
);
createRelationType(
"PaymentAdvice2PaymentDetail",
null,
true
);
createRelationType(
"PaymentAdvice2MediaRel",
null,
true
);
createRelationType(
"TravelDestinationConfig2ProductRel",
"de.hybris.platform.persistence.link.suppliercommercialscore_TravelDestinationConfig2ProductRel",
false
);
createRelationType(
"CommercialValidity2AdvcenceDefinition",
null,
true
);
createRelationType(
"TravelDestination2AdvcenceDefinition",
null,
true
);
createRelationType(
"FlightTimings2AdvcenceDefinition",
null,
true
);
createRelationType(
"FlightNumbers2AdvcenceDefinition",
null,
true
);
createRelationType(
"BookingClasses2AdvcenceDefinition",
null,
true
);
createRelationType(
"FareClasses2AdvcenceDefinition",
null,
true
);
createRelationType(
"DealCodeConfig2AdvcenceDefinition",
null,
true
);
createRelationType(
"Credential2AdvcenceDefinition",
"de.hybris.platform.persistence.link.suppliercommercialscore_Credential2AdvcenceDefinition",
false
);
createRelationType(
"PassengerType2AdvcenceDefinition",
null,
true
);
createRelationType(
"RoomCategory2AdvcenceDefinition",
null,
true
);
createRelationType(
"RoomType2AdvcenceDefinition",
null,
true
);
createRelationType(
"ClientNationality2AdvcenceDefinition",
null,
true
);
createRelationType(
"Vehicle2AdvcenceDefinition",
null,
true
);
createRelationType(
"TourType2AdvcenceDefinition",
"de.hybris.platform.persistence.link.suppliercommercialscore_TourType2AdvcenceDefinition",
false
);
createRelationType(
"StdComm2StdCommRecord",
null,
true
);
createRelationType(
"StdComm2AdvComm",
"de.hybris.platform.persistence.link.suppliercommercialscore_StdComm2AdvComm",
false
);
createRelationType(
"GenComm2GenCommRecord",
null,
true
);
createRelationType(
"RemComm2RemCommRecord",
null,
true
);
createRelationType(
"lookToBookComm2lookToBookRecord",
null,
true
);
createRelationType(
"incentivetopupComm2incentivetopupRecord",
null,
true
);
createRelationType(
"msfeeComm2msfeeRecd",
null,
true
);
createRelationType(
"otherFeeComm2otherFeeRecord",
null,
true
);
createRelationType(
"penaltyKickbackComm2penaltyKickbackRecord",
null,
true
);
createRelationType(
"signUpBonuscomm2signUpBonusRecord",
null,
true
);
createRelationType(
"terminationFeeComm2terminationFeeRecord",
null,
true
);
createRelationType(
"SupplierFOCCommercial2SupplierFOCCommercialRecord",
null,
true
);
createRelationType(
"SupplierFOCCommercialRecord2FOCRecord",
null,
true
);
createRelationType(
"commValue2Fixedvalue",
null,
true
);
createRelationType(
"slabcommValue2valueRange",
"de.hybris.platform.persistence.link.suppliercommercialscore_slabcommValue2valueRange",
false
);
}
/**
* Generated by hybris Platform.
*/
@Override
protected final void performModifyTypes( final ManagerEJB manager, Map params ) throws JaloBusinessException
{
// performModifyTypes
single_createattr_AbstractCommercialDefinition_productCategorySubType();
single_createattr_AbstractCommercialDefinition_supplier();
single_createattr_AbstractCommercialDefinition_commercialHead();
single_createattr_AbstractCommercialDefinition_commercialType();
single_createattr_SupplierStandardCommercial_workFlowStatus();
single_createattr_AbstractCommercialRecord_description();
single_createattr_AbstractCommercialRecord_validFrom();
single_createattr_AbstractCommercialRecord_validTo();
single_createattr_AbstractCommercialRecord_commercialType();
single_createattr_AbstractCommercialRecord_workFlowStatus();
single_createattr_AbstractCommercialRecord_lockedBy();
single_createattr_AbstractCommercialRecord_approvalStatus();
single_createattr_AbstractCommercialRecord_copiedFrom();
single_createattr_CommercialProductInfo_product();
single_createattr_RailProductInfo_channel();
single_createattr_RailProductInfo_train();
single_createattr_RailProductInfo_trainCategory();
single_createattr_RailProductInfo_ticketType();
single_createattr_RailProductInfo_groupMode();
single_createattr_RailProductInfo_fareType();
single_createattr_RailProductInfo_passName();
single_createattr_GeneralCommercialRecord_transactionWiseSettlement();
single_createattr_GeneralCommercialRecord_transactional();
single_createattr_GeneralCommercialRecord_comissionable();
single_createattr_GeneralCommercialRecord_commercialValue();
single_createattr_GeneralCommercialRecord_calculationType();
single_createattr_GeneralCommercialRecord_commercialHeadForCalculationType();
single_createattr_GeneralCommercialRecord_markDownComplete();
single_createattr_GeneralCommercialRecord_markDownCompleteClientType();
single_createattr_GeneralCommercialRecord_minMarkupPercentage();
single_createattr_GeneralCommercialRecord_maxMarkupPercentage();
single_createattr_GeneralCommercialRecord_minMaxMarkupClientType();
single_createattr_GeneralCommercialRecord_final();
single_createattr_FixedCommercialValue_percentage();
single_createattr_FixedCommercialValue_amount();
single_createattr_FixValues_percentage();
single_createattr_FixValues_amountValue();
single_createattr_FixValues_currency();
single_createattr_FixValues_fareComponent();
single_createattr_SlabCommercialValue_segment();
single_createattr_SlabCommercialValue_cumulative();
single_createattr_SlabCommercialValue_slabType();
single_createattr_SlabCommercialValue_fareComponent();
single_createattr_CommercialValueRange_currency();
single_createattr_CommercialValueRange_from();
single_createattr_CommercialValueRange_to();
single_createattr_CommercialValueRange_fromInWords();
single_createattr_CommercialValueRange_toInWords();
single_createattr_CommercialRateTypeDetail_rateType();
single_createattr_CommercialRateTypeDetail_rateCode();
single_createattr_SupplierFOCCommercialRecord_plbApplicable();
single_createattr_FOCRecord_slab();
single_createattr_FOCRecord_fareComponent();
single_createattr_FOCRecord_slabtype();
single_createattr_FOCRecord_fromValue();
single_createattr_FOCRecord_fromValueInWords();
single_createattr_FOCRecord_toValue();
single_createattr_FOCRecord_toValueInWords();
single_createattr_FOCRecord_runningEvery();
single_createattr_FOCRecord_runningType();
single_createattr_FOCRecord_focByPercentage();
single_createattr_FOCRecord_noOfUpgrades();
single_createattr_FOCRecord_product();
single_createattr_FOCRecord_passengerType();
single_createattr_FlightFOCRecord_cabinClass();
single_createattr_FlightFOCRecord_focTicket();
single_createattr_FlightFOCRecord_rbd();
single_createattr_FlightFOCRecord_noOfTickets();
single_createattr_FlightFOCRecord_iataNumber();
single_createattr_FlightFOCRecord_focCabinClass();
single_createattr_AccoFOCRecord_roomCategory();
single_createattr_AccoFOCRecord_roomType();
single_createattr_AccoFOCRecord_noOfRoom();
single_createattr_AccoFOCRecord_rateType();
single_createattr_AccoFOCRecord_focRoom();
single_createattr_AccoFOCRecord_focRoomCategory();
single_createattr_PenaltyCriteria_criteriaSlabType();
single_createattr_PenaltyCriteria_targetFrom();
single_createattr_PenaltyCriteria_targetTo();
single_createattr_PenaltyCriteria_minAchievePercentage();
single_createattr_PenaltyCriteria_minFromAchievePercentage();
single_createattr_PenaltyCriteria_achievementPeriod();
single_createattr_PenaltyCriteria_periodFrom();
single_createattr_PenaltyCriteria_periodTo();
single_createattr_PenaltyCriteria_transactionwisePenalty();
single_createattr_PenaltyCriteria_periodwisePenalty();
single_createattr_PenaltyCriteria_percentage();
single_createattr_PenaltyCriteria_penaltySlabType();
single_createattr_PenaltyCriteria_currency();
single_createattr_PenaltyCriteria_value();
single_createattr_SupplierTerminationFeeCommercialRecord_fixed();
single_createattr_SupplierTerminationFeeCommercialRecord_returnsOfPayable();
single_createattr_SupplierTerminationFeeCommercialRecord_currency();
single_createattr_SupplierTerminationFeeCommercialRecord_value();
single_createattr_ReturnOfPayable_commercialHead();
single_createattr_ReturnOfPayable_periodFrom();
single_createattr_ReturnOfPayable_periodTo();
single_createattr_ReturnOfPayable_interestPercentage();
single_createattr_SupplierIncentiveOnTopupRecord_multipleTopups();
single_createattr_TopupDetail_modeOfPayment();
single_createattr_TopupDetail_bank();
single_createattr_TopupDetail_currency();
single_createattr_TopupDetail_amount();
single_createattr_TopupDetail_incentivePercentage();
single_createattr_SupplierMSFFeeRecord_percentage();
single_createattr_SupplierMSFFeeRecord_amount();
single_createattr_SupplierMSFFeeRecord_currency();
single_createattr_SupplierMSFFeeRecord_serviceTaxApplied();
single_createattr_SupplierMSFFeeRecord_transactionType();
single_createattr_SupplierMSFFeeRecord_typeOfMSFCharges();
single_createattr_SupplierMSFFeeRecord_percentageValue();
single_createattr_SupplierMSFFeeRecord_amountValue();
single_createattr_SupplierLookToBookCommercialRecord_byRatio();
single_createattr_SupplierLookToBookCommercialRecord_ratePerLook();
single_createattr_SupplierLookToBookCommercialRecord_ratePerBook();
single_createattr_SupplierLookToBookCommercialRecord_lookCurrency();
single_createattr_SupplierLookToBookCommercialRecord_waiverFrom();
single_createattr_SupplierLookToBookCommercialRecord_waiverTo();
single_createattr_SupplierLookToBookCommercialRecord_bookCurrency();
single_createattr_LookToBookRatio_lookFrom();
single_createattr_LookToBookRatio_lookTo();
single_createattr_LookToBookRatio_bookRatio();
single_createattr_LookToBookRatio_amountPerExcessLook();
single_createattr_LookToBookRatio_currency();
single_createattr_SupplierSignUpBonusCommercialRecord_currency();
single_createattr_SupplierSignUpBonusCommercialRecord_value();
single_createattr_SignupBonusCriteria_slabType();
single_createattr_SignupBonusCriteria_targetFrom();
single_createattr_SignupBonusCriteria_targetTo();
single_createattr_SignupBonusCriteria_periodFrom();
single_createattr_SignupBonusCriteria_periodTo();
single_createattr_SupplierOtherFeeCommercialRecord_refundable();
single_createattr_SupplierOtherFeeCommercialRecord_recurring();
single_createattr_SupplierOtherFeeCommercialRecord_onDemand();
single_createattr_SupplierOtherFeeCommercialRecord_percentage();
single_createattr_SupplierOtherFeeCommercialRecord_value();
single_createattr_SupplierOtherFeeCommercialRecord_currency();
single_createattr_DynamicFeeConfig_commercialHead();
single_createattr_DynamicFeeConfig_percentage();
single_createattr_DynamicFeeConfig_from();
single_createattr_DynamicFeeConfig_to();
single_createattr_PaymentAdviceForOtherFee_commercial();
single_createattr_PaymentAdviceForOtherFee_copiedFrom();
single_createattr_SupplierCommercialAdvanceDefinition_supplier();
single_createattr_SupplierCommercialAdvanceDefinition_bookingType();
single_createattr_AbstractAdvDefConfig_exclusion();
single_createattr_AbstractAdvDefConfig_trigger();
single_createattr_AbstractAdvDefConfig_payout();
single_createattr_CommercialsValidityConfig_validityOn();
single_createattr_CommercialsValidityConfig_validFrom();
single_createattr_CommercialsValidityConfig_validTo();
single_createattr_CommercialsValidityConfig_blockOutFrom();
single_createattr_CommercialsValidityConfig_blockOutTo();
single_createattr_SupCommAdvDefPassengerConfig_passengerType();
single_createattr_AirSupplierAdvanceDefinition_fareTypes();
single_createattr_TravelDestinationConfig_toContinent();
single_createattr_TravelDestinationConfig_toCountry();
single_createattr_TravelDestinationConfig_toCity();
single_createattr_TravelDestinationConfig_state();
single_createattr_AirTravelDestinationConfig_directFlight();
single_createattr_AirTravelDestinationConfig_viaOnline();
single_createattr_AirTravelDestinationConfig_siti();
single_createattr_AirTravelDestinationConfig_sito();
single_createattr_AirTravelDestinationConfig_soti();
single_createattr_AirTravelDestinationConfig_soto();
single_createattr_AirTravelDestinationConfig_oneWay();
single_createattr_AirTravelDestinationConfig_return();
single_createattr_AirTravelDestinationConfig_multiCity();
single_createattr_AirTravelDestinationConfig_codeShareFlightIncluded();
single_createattr_AirTravelDestinationConfig_fromContinent();
single_createattr_AirTravelDestinationConfig_fromCountry();
single_createattr_AirTravelDestinationConfig_fromCity();
single_createattr_AirTravelDestinationConfig_viaContinent();
single_createattr_AirTravelDestinationConfig_viaCountry();
single_createattr_AirTravelDestinationConfig_viaCity();
single_createattr_FlightTimingsConfig_flightTimeFrom();
single_createattr_FlightTimingsConfig_flightTimeTo();
single_createattr_FlightNumbersConfig_flightnumberFrom();
single_createattr_FlightNumbersConfig_flightNumberTo();
single_createattr_BookingClassesConfig_cabinClass();
single_createattr_BookingClassesConfig_rbd();
single_createattr_FareClassesConfig_fareBasis();
single_createattr_FareClassesConfig_fareBasisValue();
single_createattr_DealCodeConfig_dealCode();
single_createattr_RoomTypeConfig_roomType();
single_createattr_RoomCategoryConfig_roomCategory();
single_createattr_ClientNationalityConfig_clientNationality();
single_createattr_TransportSupplierAdvanceDefinition_paymentType();
single_createattr_TransportSupplierAdvanceDefinition_rateApplicableFor();
single_createattr_TransportSupplierAdvanceDefinition_category();
single_createattr_VehicleConfig_sippCode();
single_createattr_VehicleConfig_vehicleCategory();
single_createattr_VehicleConfig_vehicleName();
single_createattr_HolidaySupplierAdvanceDefinition_extensionNights();
single_createattr_HolidaySupplierAdvanceDefinition_flights();
single_createattr_HolidaySupplierAdvanceDefinition_cancellationCharges();
single_createattr_HolidaySupplierAdvanceDefinition_optionalTours();
single_createattr_HolidaySupplierAdvanceDefinition_tripProtection();
single_createattr_HolidaySupplierAdvanceDefinition_supplement();
single_createattr_HolidaySupplierAdvanceDefinition_surcharge();
single_createattr_HolidaySupplierAdvanceDefinition_upgrade();
createRelationAttributes(
"SupComlDef2SupMarketRel",
false,
"commercialDefinitions",
"AbstractCommercialDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET,
"supplierMarkets",
"SupplierMarket",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"genCommercialrcd2ProductInfos",
false,
"commercials",
"GeneralCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET,
"utilizedProducts",
"CommercialProductInfo",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"Commercial2Product",
false,
"commercialRecod",
"AbstractCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"products",
"Product",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"CommercialRecord2MediaRel",
false,
"commercialRecord",
"AbstractCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"medias",
"Media",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"Slab2FixedCommercialValue",
false,
"slabCommercialValue",
"SlabCommercialValue",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"commercialValues",
"FixedCommercialValue",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"GeneralCommercial2Principal",
false,
"generalCommercials",
"GeneralCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET,
"clients",
"Principal",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"AbstractCom2RateTypeDetail",
false,
"commercialrcd",
"GeneralCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"rateTypes",
"CommercialRateTypeDetail",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"genCom2IATAAgency",
false,
"gencommercials",
"GeneralCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET,
"iataAgencies",
"IATAAgency",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"Commercial2TravelogixPolicy",
false,
"commercialRecord",
"AbstractCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET,
"policies",
"TravelogixPolicy",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"Commercial2AdvDefRel",
false,
"commercialsRecord",
"AbstractCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"advancedDefinitions",
"SupplierCommercialAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"BusProductInfo2Route",
false,
"busProduct",
"BusProductInfo",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"routes",
"BusRoute",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"BusProductInfo2Operator",
false,
"busProduct",
"BusProductInfo",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"operators",
"BusOperator",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"RailProductInfo2IncCountries",
false,
"commercialProductInfo",
"RailProductInfo",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"includedCountries",
"Country",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"RailProductInfo2ExcCountries",
false,
"commercialProductInfo",
"RailProductInfo",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"excludedCountries",
"Country",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"PKCommercial2PenaltyCriteria",
false,
"commercial",
"SupplierPenaltyKickBackCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"criterias",
"PenaltyCriteria",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"TermnCom2ReturnOfPayable",
false,
"commercial",
"SupplierTerminationFeeCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"returnOfPayables",
"ReturnOfPayable",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"IncentiveOnTopup2Detail",
false,
"commercial",
"SupplierIncentiveOnTopupRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"topupDetails",
"TopupDetail",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"IncentiveOnTopup2Trigger",
false,
"commercial",
"SupplierIncentiveOnTopupRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"triggers",
"Trigger",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"MSFFee2PaymentMode",
false,
"fees",
"SupplierMSFFeeRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"typesOfPayment",
"PaymentMode",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"MSFFee2CreditCardType",
false,
"fees",
"SupplierMSFFeeRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"cardTypes",
"CreditCardType",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"IncentiveOnTopupCommercial2RateTypeDetail",
false,
"commercialrcd",
"SupplierIncentiveOnTopupRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"rateTypes",
"CommercialRateTypeDetail",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"LookToBookCommercial2Ratio",
false,
"commercial",
"SupplierLookToBookCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"lookToBookRatios",
"LookToBookRatio",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"SignupBonusCommercial2Criteria",
false,
"commercial",
"SupplierSignUpBonusCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"criteria",
"SignupBonusCriteria",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"OtherFee2DynamicConfig",
false,
"commercial",
"SupplierOtherFeeCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"percentages",
"DynamicFeeConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"OtherFee2ProdCatSubType",
false,
"otherFees",
"SupplierOtherFeeCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"applyOn",
"ProductCategorySubType",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"PaymentAdvice2PaymentDetail",
false,
"paymentAdvice",
"PaymentAdviceForOtherFee",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"paymentDetails",
"AbstractPaymentDetail",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"PaymentAdvice2MediaRel",
false,
"paymentAdvice",
"PaymentAdviceForOtherFee",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"medias",
"Media",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"TravelDestinationConfig2ProductRel",
false,
"",
"TravelDestinationConfig",
false,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"products",
"FlightProduct",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true,
CollectionType.LIST
);
createRelationAttributes(
"CommercialValidity2AdvcenceDefinition",
false,
"validityConfigs",
"CommercialsValidityConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"SupplierCommercialAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"TravelDestination2AdvcenceDefinition",
false,
"travelDestinations",
"TravelDestinationConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"SupplierCommercialAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"FlightTimings2AdvcenceDefinition",
false,
"flightTimings",
"FlightTimingsConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"FlightNumbers2AdvcenceDefinition",
false,
"flightNumbers",
"FlightNumbersConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"BookingClasses2AdvcenceDefinition",
false,
"bookingClasses",
"BookingClassesConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"FareClasses2AdvcenceDefinition",
false,
"fareClasses",
"FareClassesConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"DealCodeConfig2AdvcenceDefinition",
false,
"dealCodes",
"DealCodeConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"Credential2AdvcenceDefinition",
false,
"credentials",
"SupplierCredentials",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"SupplierCommercialAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"PassengerType2AdvcenceDefinition",
false,
"passengerTypes",
"SupCommAdvDefPassengerConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"RoomCategory2AdvcenceDefinition",
false,
"roomCategories",
"RoomCategoryConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"AccoSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"RoomType2AdvcenceDefinition",
false,
"roomTypes",
"RoomTypeConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"AccoSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"ClientNationality2AdvcenceDefinition",
false,
"clientNationalities",
"ClientNationalityConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"AccoSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"Vehicle2AdvcenceDefinition",
false,
"vehicles",
"VehicleConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"advanceDefinition",
"TransportSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"TourType2AdvcenceDefinition",
false,
"tourTypes",
"TourType",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION,
"",
"HolidaySupplierAdvanceDefinition",
false,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"StdComm2StdCommRecord",
false,
"standardCommercial",
"SupplierStandardCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"standardRecord",
"SupplierStandardCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"StdComm2AdvComm",
false,
"standardCommercial",
"SupplierStandardCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET,
"advCommercial",
"SupplierAdvanceCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"GenComm2GenCommRecord",
false,
"generalCommercial",
"SupplierGeneralCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"generalRecord",
"SupplierGeneralCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"RemComm2RemCommRecord",
false,
"remittanceCommercial",
"SupplierRemittanceCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"remittanceRecord",
"SupplierRemittanceCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"lookToBookComm2lookToBookRecord",
false,
"lookToBookCommercial",
"SupplierLookToBookCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"lookToBookRecord",
"SupplierLookToBookCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"incentivetopupComm2incentivetopupRecord",
false,
"incentivetopupCommercial",
"SupplierIncentiveOnTopupCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"incentivetopupRecord",
"SupplierIncentiveOnTopupRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"msfeeComm2msfeeRecd",
false,
"msfeeCommercial",
"SupplierMSFFeeCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"msfeeRecord",
"SupplierMSFFeeRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"otherFeeComm2otherFeeRecord",
false,
"otherFeeCommercial",
"SupplierOtherFeeCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"otherFeeRecord",
"SupplierOtherFeeCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"penaltyKickbackComm2penaltyKickbackRecord",
false,
"penaltyKickbackCommercial",
"SupplierPenaltyKickbackCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"penaltyKickbackRecord",
"SupplierPenaltyKickbackCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"signUpBonuscomm2signUpBonusRecord",
false,
"signUpBonusCommercial",
"SupplierSignUpBonusCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"signUpBonusRecord",
"SupplierSignUpBonusCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"terminationFeeComm2terminationFeeRecord",
false,
"terminationFeeCommercial",
"SupplierTerminationFeeCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"terminationFeeRecord",
"SupplierTerminationFeeCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"SupplierFOCCommercial2SupplierFOCCommercialRecord",
false,
"focCommercial",
"SupplierFOCCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"focCommercialRecord",
"SupplierFOCCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"SupplierFOCCommercialRecord2FOCRecord",
false,
"focCommercialRecord",
"SupplierFOCCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"focRecords",
"FOCRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
createRelationAttributes(
"commValue2Fixedvalue",
false,
"fixedcommvalue",
"FixedCommercialValue",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
false,
false,
CollectionType.COLLECTION,
"fixValues",
"FixValues",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.COLLECTION
);
createRelationAttributes(
"slabcommValue2valueRange",
false,
"slabcommvalue",
"SlabCommercialValue",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET,
"fixValues",
"CommercialValueRange",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
false,
CollectionType.SET
);
}
public void single_createattr_AbstractCommercialDefinition_productCategorySubType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialDefinition",
"productCategorySubType",
null,
"ProductCategorySubType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractCommercialDefinition_supplier() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialDefinition",
"supplier",
null,
"Supplier",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractCommercialDefinition_commercialHead() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialDefinition",
"commercialHead",
null,
"CommercialHead",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractCommercialDefinition_commercialType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialDefinition",
"commercialType",
null,
"CommercialType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierStandardCommercial_workFlowStatus() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierStandardCommercial",
"workFlowStatus",
null,
"ApprovalWorkFlowStatus",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractCommercialRecord_description() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialRecord",
"description",
null,
"localized:java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractCommercialRecord_validFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialRecord",
"validFrom",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractCommercialRecord_validTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialRecord",
"validTo",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractCommercialRecord_commercialType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialRecord",
"commercialType",
null,
"CommercialType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractCommercialRecord_workFlowStatus() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialRecord",
"workFlowStatus",
null,
"ApprovalWorkFlowStatus",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractCommercialRecord_lockedBy() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialRecord",
"lockedBy",
null,
"Employee",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractCommercialRecord_approvalStatus() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialRecord",
"approvalStatus",
null,
"ArticleApprovalStatus",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractCommercialRecord_copiedFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractCommercialRecord",
"copiedFrom",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialProductInfo_product() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialProductInfo",
"product",
null,
"Product",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_RailProductInfo_channel() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"RailProductInfo",
"channel",
null,
"TicketingChannel",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_RailProductInfo_train() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"RailProductInfo",
"train",
null,
"Train",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_RailProductInfo_trainCategory() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"RailProductInfo",
"trainCategory",
null,
"TrainCategory",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_RailProductInfo_ticketType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"RailProductInfo",
"ticketType",
null,
"RailTicketType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_RailProductInfo_groupMode() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"RailProductInfo",
"groupMode",
null,
"GroupMode",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_RailProductInfo_fareType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"RailProductInfo",
"fareType",
null,
"FareType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_RailProductInfo_passName() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"RailProductInfo",
"passName",
null,
"RailPass",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_transactionWiseSettlement() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"transactionWiseSettlement",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_transactional() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"transactional",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_comissionable() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"comissionable",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_commercialValue() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"commercialValue",
null,
"AbstractCommercialValue",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_calculationType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"calculationType",
null,
"CalculationType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_commercialHeadForCalculationType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"commercialHeadForCalculationType",
null,
"CommercialHead",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_markDownComplete() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"markDownComplete",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_markDownCompleteClientType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"markDownCompleteClientType",
null,
"ClientType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_minMarkupPercentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"minMarkupPercentage",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_maxMarkupPercentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"maxMarkupPercentage",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_minMaxMarkupClientType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"minMaxMarkupClientType",
null,
"ClientType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_GeneralCommercialRecord_final() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"GeneralCommercialRecord",
"final",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FixedCommercialValue_percentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FixedCommercialValue",
"percentage",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FixedCommercialValue_amount() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FixedCommercialValue",
"amount",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FixValues_percentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FixValues",
"percentage",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FixValues_amountValue() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FixValues",
"amountValue",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FixValues_currency() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FixValues",
"currency",
null,
"Currency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FixValues_fareComponent() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FixValues",
"fareComponent",
null,
"FareComponent",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SlabCommercialValue_segment() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SlabCommercialValue",
"segment",
null,
"Segment",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SlabCommercialValue_cumulative() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SlabCommercialValue",
"cumulative",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SlabCommercialValue_slabType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SlabCommercialValue",
"slabType",
null,
"CommercialSlabType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SlabCommercialValue_fareComponent() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SlabCommercialValue",
"fareComponent",
null,
"FareComponent",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialValueRange_currency() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialValueRange",
"currency",
null,
"Currency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialValueRange_from() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialValueRange",
"from",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialValueRange_to() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialValueRange",
"to",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialValueRange_fromInWords() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialValueRange",
"fromInWords",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialValueRange_toInWords() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialValueRange",
"toInWords",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialRateTypeDetail_rateType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialRateTypeDetail",
"rateType",
null,
"RateType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialRateTypeDetail_rateCode() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialRateTypeDetail",
"rateCode",
null,
"RateCode",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierFOCCommercialRecord_plbApplicable() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierFOCCommercialRecord",
"plbApplicable",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_slab() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"slab",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_fareComponent() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"fareComponent",
null,
"fareComponent",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_slabtype() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"slabtype",
null,
"CommercialSlabType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_fromValue() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"fromValue",
null,
"java.lang.Integer",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_fromValueInWords() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"fromValueInWords",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_toValue() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"toValue",
null,
"java.lang.Integer",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_toValueInWords() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"toValueInWords",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_runningEvery() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"runningEvery",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_runningType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"runningType",
null,
"runningType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_focByPercentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"focByPercentage",
null,
"java.lang.Integer",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_noOfUpgrades() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"noOfUpgrades",
null,
"java.lang.Integer",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_product() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"product",
null,
"Product",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FOCRecord_passengerType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FOCRecord",
"passengerType",
null,
"PAXType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FlightFOCRecord_cabinClass() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FlightFOCRecord",
"cabinClass",
null,
"CabinClass",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FlightFOCRecord_focTicket() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FlightFOCRecord",
"focTicket",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FlightFOCRecord_rbd() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FlightFOCRecord",
"rbd",
null,
"ReservationBookingDesignator",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FlightFOCRecord_noOfTickets() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FlightFOCRecord",
"noOfTickets",
null,
"java.lang.Integer",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FlightFOCRecord_iataNumber() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FlightFOCRecord",
"iataNumber",
null,
"IATAAgency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FlightFOCRecord_focCabinClass() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FlightFOCRecord",
"focCabinClass",
null,
"CabinClass",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AccoFOCRecord_roomCategory() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AccoFOCRecord",
"roomCategory",
null,
"RoomCategory",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AccoFOCRecord_roomType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AccoFOCRecord",
"roomType",
null,
"RoomType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AccoFOCRecord_noOfRoom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AccoFOCRecord",
"noOfRoom",
null,
"java.lang.Integer",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AccoFOCRecord_rateType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AccoFOCRecord",
"rateType",
null,
"CommercialRateTypeDetail",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AccoFOCRecord_focRoom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AccoFOCRecord",
"focRoom",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AccoFOCRecord_focRoomCategory() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AccoFOCRecord",
"focRoomCategory",
null,
"RoomCategory",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_criteriaSlabType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"criteriaSlabType",
null,
"CommercialSlabType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_targetFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"targetFrom",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_targetTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"targetTo",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_minAchievePercentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"minAchievePercentage",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_minFromAchievePercentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"minFromAchievePercentage",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_achievementPeriod() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"achievementPeriod",
null,
"TimePeriod",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_periodFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"periodFrom",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_periodTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"periodTo",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_transactionwisePenalty() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"transactionwisePenalty",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_periodwisePenalty() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"periodwisePenalty",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_percentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"percentage",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_penaltySlabType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"penaltySlabType",
null,
"CommercialSlabType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_currency() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"currency",
null,
"Currency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PenaltyCriteria_value() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PenaltyCriteria",
"value",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierTerminationFeeCommercialRecord_fixed() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierTerminationFeeCommercialRecord",
"fixed",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierTerminationFeeCommercialRecord_returnsOfPayable() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierTerminationFeeCommercialRecord",
"returnsOfPayable",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierTerminationFeeCommercialRecord_currency() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierTerminationFeeCommercialRecord",
"currency",
null,
"Currency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierTerminationFeeCommercialRecord_value() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierTerminationFeeCommercialRecord",
"value",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_ReturnOfPayable_commercialHead() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"ReturnOfPayable",
"commercialHead",
null,
"CommercialHead",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_ReturnOfPayable_periodFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"ReturnOfPayable",
"periodFrom",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_ReturnOfPayable_periodTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"ReturnOfPayable",
"periodTo",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_ReturnOfPayable_interestPercentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"ReturnOfPayable",
"interestPercentage",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierIncentiveOnTopupRecord_multipleTopups() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierIncentiveOnTopupRecord",
"multipleTopups",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TopupDetail_modeOfPayment() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TopupDetail",
"modeOfPayment",
null,
"PaymentMode",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TopupDetail_bank() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TopupDetail",
"bank",
null,
"Bank",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TopupDetail_currency() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TopupDetail",
"currency",
null,
"Currency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TopupDetail_amount() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TopupDetail",
"amount",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TopupDetail_incentivePercentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TopupDetail",
"incentivePercentage",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierMSFFeeRecord_percentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierMSFFeeRecord",
"percentage",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierMSFFeeRecord_amount() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierMSFFeeRecord",
"amount",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierMSFFeeRecord_currency() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierMSFFeeRecord",
"currency",
null,
"Currency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierMSFFeeRecord_serviceTaxApplied() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierMSFFeeRecord",
"serviceTaxApplied",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierMSFFeeRecord_transactionType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierMSFFeeRecord",
"transactionType",
null,
"TransactionType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierMSFFeeRecord_typeOfMSFCharges() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierMSFFeeRecord",
"typeOfMSFCharges",
null,
"TypeOfMSFCharges",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierMSFFeeRecord_percentageValue() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierMSFFeeRecord",
"percentageValue",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierMSFFeeRecord_amountValue() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierMSFFeeRecord",
"amountValue",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierLookToBookCommercialRecord_byRatio() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierLookToBookCommercialRecord",
"byRatio",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierLookToBookCommercialRecord_ratePerLook() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierLookToBookCommercialRecord",
"ratePerLook",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierLookToBookCommercialRecord_ratePerBook() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierLookToBookCommercialRecord",
"ratePerBook",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierLookToBookCommercialRecord_lookCurrency() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierLookToBookCommercialRecord",
"lookCurrency",
null,
"Currency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierLookToBookCommercialRecord_waiverFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierLookToBookCommercialRecord",
"waiverFrom",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierLookToBookCommercialRecord_waiverTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierLookToBookCommercialRecord",
"waiverTo",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierLookToBookCommercialRecord_bookCurrency() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierLookToBookCommercialRecord",
"bookCurrency",
null,
"Currency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_LookToBookRatio_lookFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"LookToBookRatio",
"lookFrom",
null,
"java.lang.Integer",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_LookToBookRatio_lookTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"LookToBookRatio",
"lookTo",
null,
"java.lang.Integer",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_LookToBookRatio_bookRatio() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"LookToBookRatio",
"bookRatio",
null,
"java.lang.Integer",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_LookToBookRatio_amountPerExcessLook() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"LookToBookRatio",
"amountPerExcessLook",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_LookToBookRatio_currency() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"LookToBookRatio",
"currency",
null,
"Currency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierSignUpBonusCommercialRecord_currency() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierSignUpBonusCommercialRecord",
"currency",
null,
"Currency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierSignUpBonusCommercialRecord_value() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierSignUpBonusCommercialRecord",
"value",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SignupBonusCriteria_slabType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SignupBonusCriteria",
"slabType",
null,
"CommercialSlabType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SignupBonusCriteria_targetFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SignupBonusCriteria",
"targetFrom",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SignupBonusCriteria_targetTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SignupBonusCriteria",
"targetTo",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SignupBonusCriteria_periodFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SignupBonusCriteria",
"periodFrom",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SignupBonusCriteria_periodTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SignupBonusCriteria",
"periodTo",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierOtherFeeCommercialRecord_refundable() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierOtherFeeCommercialRecord",
"refundable",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierOtherFeeCommercialRecord_recurring() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierOtherFeeCommercialRecord",
"recurring",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierOtherFeeCommercialRecord_onDemand() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierOtherFeeCommercialRecord",
"onDemand",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierOtherFeeCommercialRecord_percentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierOtherFeeCommercialRecord",
"percentage",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierOtherFeeCommercialRecord_value() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierOtherFeeCommercialRecord",
"value",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierOtherFeeCommercialRecord_currency() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierOtherFeeCommercialRecord",
"currency",
null,
"Currency",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_DynamicFeeConfig_commercialHead() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"DynamicFeeConfig",
"commercialHead",
null,
"CommercialHead",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_DynamicFeeConfig_percentage() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"DynamicFeeConfig",
"percentage",
null,
"java.lang.Double",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_DynamicFeeConfig_from() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"DynamicFeeConfig",
"from",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_DynamicFeeConfig_to() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"DynamicFeeConfig",
"to",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PaymentAdviceForOtherFee_commercial() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PaymentAdviceForOtherFee",
"commercial",
null,
"SupplierOtherFeeCommercialRecord",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_PaymentAdviceForOtherFee_copiedFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"PaymentAdviceForOtherFee",
"copiedFrom",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierCommercialAdvanceDefinition_supplier() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierCommercialAdvanceDefinition",
"supplier",
null,
"Supplier",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupplierCommercialAdvanceDefinition_bookingType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupplierCommercialAdvanceDefinition",
"bookingType",
null,
"TransactionType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractAdvDefConfig_exclusion() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractAdvDefConfig",
"exclusion",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractAdvDefConfig_trigger() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractAdvDefConfig",
"trigger",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AbstractAdvDefConfig_payout() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AbstractAdvDefConfig",
"payout",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialsValidityConfig_validityOn() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialsValidityConfig",
"validityOn",
null,
"SupDefValidityContext",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialsValidityConfig_validFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialsValidityConfig",
"validFrom",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialsValidityConfig_validTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialsValidityConfig",
"validTo",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialsValidityConfig_blockOutFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialsValidityConfig",
"blockOutFrom",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_CommercialsValidityConfig_blockOutTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"CommercialsValidityConfig",
"blockOutTo",
null,
"java.util.Date",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_SupCommAdvDefPassengerConfig_passengerType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"SupCommAdvDefPassengerConfig",
"passengerType",
null,
"PaxType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirSupplierAdvanceDefinition_fareTypes() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirSupplierAdvanceDefinition",
"fareTypes",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TravelDestinationConfig_toContinent() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TravelDestinationConfig",
"toContinent",
null,
"Continent",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TravelDestinationConfig_toCountry() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TravelDestinationConfig",
"toCountry",
null,
"Country",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TravelDestinationConfig_toCity() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TravelDestinationConfig",
"toCity",
null,
"City",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TravelDestinationConfig_state() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TravelDestinationConfig",
"state",
null,
"Region",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_directFlight() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"directFlight",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_viaOnline() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"viaOnline",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_siti() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"siti",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_sito() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"sito",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_soti() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"soti",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_soto() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"soto",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_oneWay() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"oneWay",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_return() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"return",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_multiCity() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"multiCity",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_codeShareFlightIncluded() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"codeShareFlightIncluded",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_fromContinent() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"fromContinent",
null,
"Continent",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_fromCountry() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"fromCountry",
null,
"Country",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_fromCity() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"fromCity",
null,
"City",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_viaContinent() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"viaContinent",
null,
"Continent",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_viaCountry() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"viaCountry",
null,
"Country",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_AirTravelDestinationConfig_viaCity() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"AirTravelDestinationConfig",
"viaCity",
null,
"City",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FlightTimingsConfig_flightTimeFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FlightTimingsConfig",
"flightTimeFrom",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FlightTimingsConfig_flightTimeTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FlightTimingsConfig",
"flightTimeTo",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FlightNumbersConfig_flightnumberFrom() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FlightNumbersConfig",
"flightnumberFrom",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FlightNumbersConfig_flightNumberTo() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FlightNumbersConfig",
"flightNumberTo",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_BookingClassesConfig_cabinClass() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"BookingClassesConfig",
"cabinClass",
null,
"CabinClassType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_BookingClassesConfig_rbd() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"BookingClassesConfig",
"rbd",
null,
"ReservationBookingDesignator",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FareClassesConfig_fareBasis() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FareClassesConfig",
"fareBasis",
null,
"FareBasis",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_FareClassesConfig_fareBasisValue() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"FareClassesConfig",
"fareBasisValue",
null,
"java.lang.String",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_DealCodeConfig_dealCode() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"DealCodeConfig",
"dealCode",
null,
"DealCode",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_RoomTypeConfig_roomType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"RoomTypeConfig",
"roomType",
null,
"RoomType",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_RoomCategoryConfig_roomCategory() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"RoomCategoryConfig",
"roomCategory",
null,
"RoomCategory",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_ClientNationalityConfig_clientNationality() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"ClientNationalityConfig",
"clientNationality",
null,
"Country",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TransportSupplierAdvanceDefinition_paymentType() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TransportSupplierAdvanceDefinition",
"paymentType",
null,
"PaymentCategory",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TransportSupplierAdvanceDefinition_rateApplicableFor() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TransportSupplierAdvanceDefinition",
"rateApplicableFor",
null,
"RateTypeApplicability",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_TransportSupplierAdvanceDefinition_category() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"TransportSupplierAdvanceDefinition",
"category",
null,
"Category",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_VehicleConfig_sippCode() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"VehicleConfig",
"sippCode",
null,
"SIPPCode",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_VehicleConfig_vehicleCategory() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"VehicleConfig",
"vehicleCategory",
null,
"VehicleCategory",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_VehicleConfig_vehicleName() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"VehicleConfig",
"vehicleName",
null,
"Vehicle",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_HolidaySupplierAdvanceDefinition_extensionNights() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"HolidaySupplierAdvanceDefinition",
"extensionNights",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_HolidaySupplierAdvanceDefinition_flights() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"HolidaySupplierAdvanceDefinition",
"flights",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_HolidaySupplierAdvanceDefinition_cancellationCharges() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"HolidaySupplierAdvanceDefinition",
"cancellationCharges",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_HolidaySupplierAdvanceDefinition_optionalTours() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"HolidaySupplierAdvanceDefinition",
"optionalTours",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_HolidaySupplierAdvanceDefinition_tripProtection() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"HolidaySupplierAdvanceDefinition",
"tripProtection",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_HolidaySupplierAdvanceDefinition_supplement() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"HolidaySupplierAdvanceDefinition",
"supplement",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_HolidaySupplierAdvanceDefinition_surcharge() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"HolidaySupplierAdvanceDefinition",
"surcharge",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
public void single_createattr_HolidaySupplierAdvanceDefinition_upgrade() throws JaloBusinessException
{
Map sqlColumnDefinitions = null;
createPropertyAttribute(
"HolidaySupplierAdvanceDefinition",
"upgrade",
null,
"java.lang.Boolean",
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
null,
sqlColumnDefinitions
);
}
/**
* Generated by hybris Platform.
*/
@Override
protected final void performCreateObjects( final ManagerEJB manager, Map params ) throws JaloBusinessException
{
// performCreateObjects
single_setRelAttributeProperties_SupComlDef2SupMarketRel_source();
single_setRelAttributeProperties_genCommercialrcd2ProductInfos_source();
single_setRelAttributeProperties_Commercial2Product_source();
single_setRelAttributeProperties_CommercialRecord2MediaRel_source();
single_setRelAttributeProperties_Slab2FixedCommercialValue_source();
single_setRelAttributeProperties_GeneralCommercial2Principal_source();
single_setRelAttributeProperties_AbstractCom2RateTypeDetail_source();
single_setRelAttributeProperties_genCom2IATAAgency_source();
single_setRelAttributeProperties_Commercial2TravelogixPolicy_source();
single_setRelAttributeProperties_Commercial2AdvDefRel_source();
single_setRelAttributeProperties_BusProductInfo2Route_source();
single_setRelAttributeProperties_BusProductInfo2Operator_source();
single_setRelAttributeProperties_RailProductInfo2IncCountries_source();
single_setRelAttributeProperties_RailProductInfo2ExcCountries_source();
single_setRelAttributeProperties_PKCommercial2PenaltyCriteria_source();
single_setRelAttributeProperties_TermnCom2ReturnOfPayable_source();
single_setRelAttributeProperties_IncentiveOnTopup2Detail_source();
single_setRelAttributeProperties_IncentiveOnTopup2Trigger_source();
single_setRelAttributeProperties_MSFFee2PaymentMode_source();
single_setRelAttributeProperties_MSFFee2CreditCardType_source();
single_setRelAttributeProperties_IncentiveOnTopupCommercial2RateTypeDetail_source();
single_setRelAttributeProperties_LookToBookCommercial2Ratio_source();
single_setRelAttributeProperties_SignupBonusCommercial2Criteria_source();
single_setRelAttributeProperties_OtherFee2DynamicConfig_source();
single_setRelAttributeProperties_OtherFee2ProdCatSubType_source();
single_setRelAttributeProperties_PaymentAdvice2PaymentDetail_source();
single_setRelAttributeProperties_PaymentAdvice2MediaRel_source();
single_setRelAttributeProperties_TravelDestinationConfig2ProductRel_source();
single_setRelAttributeProperties_CommercialValidity2AdvcenceDefinition_source();
single_setRelAttributeProperties_TravelDestination2AdvcenceDefinition_source();
single_setRelAttributeProperties_FlightTimings2AdvcenceDefinition_source();
single_setRelAttributeProperties_FlightNumbers2AdvcenceDefinition_source();
single_setRelAttributeProperties_BookingClasses2AdvcenceDefinition_source();
single_setRelAttributeProperties_FareClasses2AdvcenceDefinition_source();
single_setRelAttributeProperties_DealCodeConfig2AdvcenceDefinition_source();
single_setRelAttributeProperties_Credential2AdvcenceDefinition_source();
single_setRelAttributeProperties_PassengerType2AdvcenceDefinition_source();
single_setRelAttributeProperties_RoomCategory2AdvcenceDefinition_source();
single_setRelAttributeProperties_RoomType2AdvcenceDefinition_source();
single_setRelAttributeProperties_ClientNationality2AdvcenceDefinition_source();
single_setRelAttributeProperties_Vehicle2AdvcenceDefinition_source();
single_setRelAttributeProperties_TourType2AdvcenceDefinition_source();
single_setRelAttributeProperties_StdComm2StdCommRecord_source();
single_setRelAttributeProperties_StdComm2AdvComm_source();
single_setRelAttributeProperties_GenComm2GenCommRecord_source();
single_setRelAttributeProperties_RemComm2RemCommRecord_source();
single_setRelAttributeProperties_lookToBookComm2lookToBookRecord_source();
single_setRelAttributeProperties_incentivetopupComm2incentivetopupRecord_source();
single_setRelAttributeProperties_msfeeComm2msfeeRecd_source();
single_setRelAttributeProperties_otherFeeComm2otherFeeRecord_source();
single_setRelAttributeProperties_penaltyKickbackComm2penaltyKickbackRecord_source();
single_setRelAttributeProperties_signUpBonuscomm2signUpBonusRecord_source();
single_setRelAttributeProperties_terminationFeeComm2terminationFeeRecord_source();
single_setRelAttributeProperties_SupplierFOCCommercial2SupplierFOCCommercialRecord_source();
single_setRelAttributeProperties_SupplierFOCCommercialRecord2FOCRecord_source();
single_setRelAttributeProperties_commValue2Fixedvalue_source();
single_setRelAttributeProperties_slabcommValue2valueRange_source();
single_setRelAttributeProperties_SupComlDef2SupMarketRel_target();
single_setRelAttributeProperties_genCommercialrcd2ProductInfos_target();
single_setRelAttributeProperties_Commercial2Product_target();
single_setRelAttributeProperties_CommercialRecord2MediaRel_target();
single_setRelAttributeProperties_Slab2FixedCommercialValue_target();
single_setRelAttributeProperties_GeneralCommercial2Principal_target();
single_setRelAttributeProperties_AbstractCom2RateTypeDetail_target();
single_setRelAttributeProperties_genCom2IATAAgency_target();
single_setRelAttributeProperties_Commercial2TravelogixPolicy_target();
single_setRelAttributeProperties_Commercial2AdvDefRel_target();
single_setRelAttributeProperties_BusProductInfo2Route_target();
single_setRelAttributeProperties_BusProductInfo2Operator_target();
single_setRelAttributeProperties_RailProductInfo2IncCountries_target();
single_setRelAttributeProperties_RailProductInfo2ExcCountries_target();
single_setRelAttributeProperties_PKCommercial2PenaltyCriteria_target();
single_setRelAttributeProperties_TermnCom2ReturnOfPayable_target();
single_setRelAttributeProperties_IncentiveOnTopup2Detail_target();
single_setRelAttributeProperties_IncentiveOnTopup2Trigger_target();
single_setRelAttributeProperties_MSFFee2PaymentMode_target();
single_setRelAttributeProperties_MSFFee2CreditCardType_target();
single_setRelAttributeProperties_IncentiveOnTopupCommercial2RateTypeDetail_target();
single_setRelAttributeProperties_LookToBookCommercial2Ratio_target();
single_setRelAttributeProperties_SignupBonusCommercial2Criteria_target();
single_setRelAttributeProperties_OtherFee2DynamicConfig_target();
single_setRelAttributeProperties_OtherFee2ProdCatSubType_target();
single_setRelAttributeProperties_PaymentAdvice2PaymentDetail_target();
single_setRelAttributeProperties_PaymentAdvice2MediaRel_target();
single_setRelAttributeProperties_TravelDestinationConfig2ProductRel_target();
single_setRelAttributeProperties_CommercialValidity2AdvcenceDefinition_target();
single_setRelAttributeProperties_TravelDestination2AdvcenceDefinition_target();
single_setRelAttributeProperties_FlightTimings2AdvcenceDefinition_target();
single_setRelAttributeProperties_FlightNumbers2AdvcenceDefinition_target();
single_setRelAttributeProperties_BookingClasses2AdvcenceDefinition_target();
single_setRelAttributeProperties_FareClasses2AdvcenceDefinition_target();
single_setRelAttributeProperties_DealCodeConfig2AdvcenceDefinition_target();
single_setRelAttributeProperties_Credential2AdvcenceDefinition_target();
single_setRelAttributeProperties_PassengerType2AdvcenceDefinition_target();
single_setRelAttributeProperties_RoomCategory2AdvcenceDefinition_target();
single_setRelAttributeProperties_RoomType2AdvcenceDefinition_target();
single_setRelAttributeProperties_ClientNationality2AdvcenceDefinition_target();
single_setRelAttributeProperties_Vehicle2AdvcenceDefinition_target();
single_setRelAttributeProperties_TourType2AdvcenceDefinition_target();
single_setRelAttributeProperties_StdComm2StdCommRecord_target();
single_setRelAttributeProperties_StdComm2AdvComm_target();
single_setRelAttributeProperties_GenComm2GenCommRecord_target();
single_setRelAttributeProperties_RemComm2RemCommRecord_target();
single_setRelAttributeProperties_lookToBookComm2lookToBookRecord_target();
single_setRelAttributeProperties_incentivetopupComm2incentivetopupRecord_target();
single_setRelAttributeProperties_msfeeComm2msfeeRecd_target();
single_setRelAttributeProperties_otherFeeComm2otherFeeRecord_target();
single_setRelAttributeProperties_penaltyKickbackComm2penaltyKickbackRecord_target();
single_setRelAttributeProperties_signUpBonuscomm2signUpBonusRecord_target();
single_setRelAttributeProperties_terminationFeeComm2terminationFeeRecord_target();
single_setRelAttributeProperties_SupplierFOCCommercial2SupplierFOCCommercialRecord_target();
single_setRelAttributeProperties_SupplierFOCCommercialRecord2FOCRecord_target();
single_setRelAttributeProperties_commValue2Fixedvalue_target();
single_setRelAttributeProperties_slabcommValue2valueRange_target();
connectRelation(
"SupComlDef2SupMarketRel",
false,
"commercialDefinitions",
"AbstractCommercialDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"supplierMarkets",
"SupplierMarket",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"genCommercialrcd2ProductInfos",
false,
"commercials",
"GeneralCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"utilizedProducts",
"CommercialProductInfo",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"Commercial2Product",
false,
"commercialRecod",
"AbstractCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"products",
"Product",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"CommercialRecord2MediaRel",
false,
"commercialRecord",
"AbstractCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"medias",
"Media",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"Slab2FixedCommercialValue",
false,
"slabCommercialValue",
"SlabCommercialValue",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"commercialValues",
"FixedCommercialValue",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"GeneralCommercial2Principal",
false,
"generalCommercials",
"GeneralCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"clients",
"Principal",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"AbstractCom2RateTypeDetail",
false,
"commercialrcd",
"GeneralCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"rateTypes",
"CommercialRateTypeDetail",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"genCom2IATAAgency",
false,
"gencommercials",
"GeneralCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"iataAgencies",
"IATAAgency",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"Commercial2TravelogixPolicy",
false,
"commercialRecord",
"AbstractCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"policies",
"TravelogixPolicy",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"Commercial2AdvDefRel",
false,
"commercialsRecord",
"AbstractCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advancedDefinitions",
"SupplierCommercialAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"BusProductInfo2Route",
false,
"busProduct",
"BusProductInfo",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"routes",
"BusRoute",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"BusProductInfo2Operator",
false,
"busProduct",
"BusProductInfo",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"operators",
"BusOperator",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"RailProductInfo2IncCountries",
false,
"commercialProductInfo",
"RailProductInfo",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"includedCountries",
"Country",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"RailProductInfo2ExcCountries",
false,
"commercialProductInfo",
"RailProductInfo",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"excludedCountries",
"Country",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"PKCommercial2PenaltyCriteria",
false,
"commercial",
"SupplierPenaltyKickBackCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"criterias",
"PenaltyCriteria",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"TermnCom2ReturnOfPayable",
false,
"commercial",
"SupplierTerminationFeeCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"returnOfPayables",
"ReturnOfPayable",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"IncentiveOnTopup2Detail",
false,
"commercial",
"SupplierIncentiveOnTopupRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"topupDetails",
"TopupDetail",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"IncentiveOnTopup2Trigger",
false,
"commercial",
"SupplierIncentiveOnTopupRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"triggers",
"Trigger",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"MSFFee2PaymentMode",
false,
"fees",
"SupplierMSFFeeRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"typesOfPayment",
"PaymentMode",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"MSFFee2CreditCardType",
false,
"fees",
"SupplierMSFFeeRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"cardTypes",
"CreditCardType",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"IncentiveOnTopupCommercial2RateTypeDetail",
false,
"commercialrcd",
"SupplierIncentiveOnTopupRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"rateTypes",
"CommercialRateTypeDetail",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"LookToBookCommercial2Ratio",
false,
"commercial",
"SupplierLookToBookCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"lookToBookRatios",
"LookToBookRatio",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"SignupBonusCommercial2Criteria",
false,
"commercial",
"SupplierSignUpBonusCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"criteria",
"SignupBonusCriteria",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"OtherFee2DynamicConfig",
false,
"commercial",
"SupplierOtherFeeCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"percentages",
"DynamicFeeConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"OtherFee2ProdCatSubType",
false,
"otherFees",
"SupplierOtherFeeCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"applyOn",
"ProductCategorySubType",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"PaymentAdvice2PaymentDetail",
false,
"paymentAdvice",
"PaymentAdviceForOtherFee",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"paymentDetails",
"AbstractPaymentDetail",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"PaymentAdvice2MediaRel",
false,
"paymentAdvice",
"PaymentAdviceForOtherFee",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"medias",
"Media",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"TravelDestinationConfig2ProductRel",
false,
"",
"TravelDestinationConfig",
false,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"products",
"FlightProduct",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"CommercialValidity2AdvcenceDefinition",
false,
"validityConfigs",
"CommercialsValidityConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"SupplierCommercialAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"TravelDestination2AdvcenceDefinition",
false,
"travelDestinations",
"TravelDestinationConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"SupplierCommercialAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"FlightTimings2AdvcenceDefinition",
false,
"flightTimings",
"FlightTimingsConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"FlightNumbers2AdvcenceDefinition",
false,
"flightNumbers",
"FlightNumbersConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"BookingClasses2AdvcenceDefinition",
false,
"bookingClasses",
"BookingClassesConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"FareClasses2AdvcenceDefinition",
false,
"fareClasses",
"FareClassesConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"DealCodeConfig2AdvcenceDefinition",
false,
"dealCodes",
"DealCodeConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"Credential2AdvcenceDefinition",
false,
"credentials",
"SupplierCredentials",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"SupplierCommercialAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"PassengerType2AdvcenceDefinition",
false,
"passengerTypes",
"SupCommAdvDefPassengerConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"AirSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"RoomCategory2AdvcenceDefinition",
false,
"roomCategories",
"RoomCategoryConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"AccoSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"RoomType2AdvcenceDefinition",
false,
"roomTypes",
"RoomTypeConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"AccoSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"ClientNationality2AdvcenceDefinition",
false,
"clientNationalities",
"ClientNationalityConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"AccoSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"Vehicle2AdvcenceDefinition",
false,
"vehicles",
"VehicleConfig",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advanceDefinition",
"TransportSupplierAdvanceDefinition",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"TourType2AdvcenceDefinition",
false,
"tourTypes",
"TourType",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"",
"HolidaySupplierAdvanceDefinition",
false,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"StdComm2StdCommRecord",
false,
"standardCommercial",
"SupplierStandardCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"standardRecord",
"SupplierStandardCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"StdComm2AdvComm",
false,
"standardCommercial",
"SupplierStandardCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"advCommercial",
"SupplierAdvanceCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"GenComm2GenCommRecord",
false,
"generalCommercial",
"SupplierGeneralCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"generalRecord",
"SupplierGeneralCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"RemComm2RemCommRecord",
false,
"remittanceCommercial",
"SupplierRemittanceCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"remittanceRecord",
"SupplierRemittanceCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"lookToBookComm2lookToBookRecord",
false,
"lookToBookCommercial",
"SupplierLookToBookCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"lookToBookRecord",
"SupplierLookToBookCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"incentivetopupComm2incentivetopupRecord",
false,
"incentivetopupCommercial",
"SupplierIncentiveOnTopupCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"incentivetopupRecord",
"SupplierIncentiveOnTopupRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"msfeeComm2msfeeRecd",
false,
"msfeeCommercial",
"SupplierMSFFeeCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"msfeeRecord",
"SupplierMSFFeeRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"otherFeeComm2otherFeeRecord",
false,
"otherFeeCommercial",
"SupplierOtherFeeCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"otherFeeRecord",
"SupplierOtherFeeCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"penaltyKickbackComm2penaltyKickbackRecord",
false,
"penaltyKickbackCommercial",
"SupplierPenaltyKickbackCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"penaltyKickbackRecord",
"SupplierPenaltyKickbackCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"signUpBonuscomm2signUpBonusRecord",
false,
"signUpBonusCommercial",
"SupplierSignUpBonusCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"signUpBonusRecord",
"SupplierSignUpBonusCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"terminationFeeComm2terminationFeeRecord",
false,
"terminationFeeCommercial",
"SupplierTerminationFeeCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"terminationFeeRecord",
"SupplierTerminationFeeCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"SupplierFOCCommercial2SupplierFOCCommercialRecord",
false,
"focCommercial",
"SupplierFOCCommercial",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"focCommercialRecord",
"SupplierFOCCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"SupplierFOCCommercialRecord2FOCRecord",
false,
"focCommercialRecord",
"SupplierFOCCommercialRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"focRecords",
"FOCRecord",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.PARTOF_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"commValue2Fixedvalue",
false,
"fixedcommvalue",
"FixedCommercialValue",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"fixValues",
"FixValues",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
connectRelation(
"slabcommValue2valueRange",
false,
"slabcommvalue",
"SlabCommercialValue",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
"fixValues",
"CommercialValueRange",
true,
de.hybris.platform.jalo.type.AttributeDescriptor.READ_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.WRITE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.OPTIONAL_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.REMOVE_FLAG|de.hybris.platform.jalo.type.AttributeDescriptor.SEARCH_FLAG,
true,
true
);
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"AbstractCommercialDefinition",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_AbstractCommercialDefinition_productCategorySubType();
single_setAttributeProperties_AbstractCommercialDefinition_supplier();
single_setAttributeProperties_AbstractCommercialDefinition_commercialHead();
single_setAttributeProperties_AbstractCommercialDefinition_commercialType();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierStandardCommercial",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SupplierStandardCommercial_workFlowStatus();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierAdvanceCommercial",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierGeneralCommercial",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierRemittanceCommercial",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierLookToBookCommercial",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierIncentiveOnTopupCommercial",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierMSFFeeCommercial",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierOtherFeeCommercial",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierPenaltyKickbackCommercial",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierSignUpBonusCommercial",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierTerminationFeeCommercial",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierFOCCommercial",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"AbstractCommercialRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_AbstractCommercialRecord_description();
single_setAttributeProperties_AbstractCommercialRecord_validFrom();
single_setAttributeProperties_AbstractCommercialRecord_validTo();
single_setAttributeProperties_AbstractCommercialRecord_commercialType();
single_setAttributeProperties_AbstractCommercialRecord_workFlowStatus();
single_setAttributeProperties_AbstractCommercialRecord_lockedBy();
single_setAttributeProperties_AbstractCommercialRecord_approvalStatus();
single_setAttributeProperties_AbstractCommercialRecord_copiedFrom();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"CommercialProductInfo",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_CommercialProductInfo_product();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"BusProductInfo",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"RailProductInfo",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_RailProductInfo_channel();
single_setAttributeProperties_RailProductInfo_train();
single_setAttributeProperties_RailProductInfo_trainCategory();
single_setAttributeProperties_RailProductInfo_ticketType();
single_setAttributeProperties_RailProductInfo_groupMode();
single_setAttributeProperties_RailProductInfo_fareType();
single_setAttributeProperties_RailProductInfo_passName();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"GeneralCommercialRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_GeneralCommercialRecord_transactionWiseSettlement();
single_setAttributeProperties_GeneralCommercialRecord_transactional();
single_setAttributeProperties_GeneralCommercialRecord_comissionable();
single_setAttributeProperties_GeneralCommercialRecord_commercialValue();
single_setAttributeProperties_GeneralCommercialRecord_calculationType();
single_setAttributeProperties_GeneralCommercialRecord_commercialHeadForCalculationType();
single_setAttributeProperties_GeneralCommercialRecord_markDownComplete();
single_setAttributeProperties_GeneralCommercialRecord_markDownCompleteClientType();
single_setAttributeProperties_GeneralCommercialRecord_minMarkupPercentage();
single_setAttributeProperties_GeneralCommercialRecord_maxMarkupPercentage();
single_setAttributeProperties_GeneralCommercialRecord_minMaxMarkupClientType();
single_setAttributeProperties_GeneralCommercialRecord_final();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierStandardCommercialRecord",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierGeneralCommercialRecord",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierRemittanceCommercialRecord",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"AbstractCommercialValue",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"FixedCommercialValue",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_FixedCommercialValue_percentage();
single_setAttributeProperties_FixedCommercialValue_amount();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"FixValues",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_FixValues_percentage();
single_setAttributeProperties_FixValues_amountValue();
single_setAttributeProperties_FixValues_currency();
single_setAttributeProperties_FixValues_fareComponent();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SlabCommercialValue",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SlabCommercialValue_segment();
single_setAttributeProperties_SlabCommercialValue_cumulative();
single_setAttributeProperties_SlabCommercialValue_slabType();
single_setAttributeProperties_SlabCommercialValue_fareComponent();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"CommercialValueRange",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_CommercialValueRange_currency();
single_setAttributeProperties_CommercialValueRange_from();
single_setAttributeProperties_CommercialValueRange_to();
single_setAttributeProperties_CommercialValueRange_fromInWords();
single_setAttributeProperties_CommercialValueRange_toInWords();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"CommercialRateTypeDetail",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_CommercialRateTypeDetail_rateType();
single_setAttributeProperties_CommercialRateTypeDetail_rateCode();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierFOCCommercialRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SupplierFOCCommercialRecord_plbApplicable();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"FOCRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_FOCRecord_slab();
single_setAttributeProperties_FOCRecord_fareComponent();
single_setAttributeProperties_FOCRecord_slabtype();
single_setAttributeProperties_FOCRecord_fromValue();
single_setAttributeProperties_FOCRecord_fromValueInWords();
single_setAttributeProperties_FOCRecord_toValue();
single_setAttributeProperties_FOCRecord_toValueInWords();
single_setAttributeProperties_FOCRecord_runningEvery();
single_setAttributeProperties_FOCRecord_runningType();
single_setAttributeProperties_FOCRecord_focByPercentage();
single_setAttributeProperties_FOCRecord_noOfUpgrades();
single_setAttributeProperties_FOCRecord_product();
single_setAttributeProperties_FOCRecord_passengerType();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"FlightFOCRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_FlightFOCRecord_cabinClass();
single_setAttributeProperties_FlightFOCRecord_focTicket();
single_setAttributeProperties_FlightFOCRecord_rbd();
single_setAttributeProperties_FlightFOCRecord_noOfTickets();
single_setAttributeProperties_FlightFOCRecord_iataNumber();
single_setAttributeProperties_FlightFOCRecord_focCabinClass();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"AccoFOCRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_AccoFOCRecord_roomCategory();
single_setAttributeProperties_AccoFOCRecord_roomType();
single_setAttributeProperties_AccoFOCRecord_noOfRoom();
single_setAttributeProperties_AccoFOCRecord_rateType();
single_setAttributeProperties_AccoFOCRecord_focRoom();
single_setAttributeProperties_AccoFOCRecord_focRoomCategory();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierPenaltyKickBackCommercialRecord",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"PenaltyCriteria",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_PenaltyCriteria_criteriaSlabType();
single_setAttributeProperties_PenaltyCriteria_targetFrom();
single_setAttributeProperties_PenaltyCriteria_targetTo();
single_setAttributeProperties_PenaltyCriteria_minAchievePercentage();
single_setAttributeProperties_PenaltyCriteria_minFromAchievePercentage();
single_setAttributeProperties_PenaltyCriteria_achievementPeriod();
single_setAttributeProperties_PenaltyCriteria_periodFrom();
single_setAttributeProperties_PenaltyCriteria_periodTo();
single_setAttributeProperties_PenaltyCriteria_transactionwisePenalty();
single_setAttributeProperties_PenaltyCriteria_periodwisePenalty();
single_setAttributeProperties_PenaltyCriteria_percentage();
single_setAttributeProperties_PenaltyCriteria_penaltySlabType();
single_setAttributeProperties_PenaltyCriteria_currency();
single_setAttributeProperties_PenaltyCriteria_value();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierTerminationFeeCommercialRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SupplierTerminationFeeCommercialRecord_fixed();
single_setAttributeProperties_SupplierTerminationFeeCommercialRecord_returnsOfPayable();
single_setAttributeProperties_SupplierTerminationFeeCommercialRecord_currency();
single_setAttributeProperties_SupplierTerminationFeeCommercialRecord_value();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"ReturnOfPayable",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_ReturnOfPayable_commercialHead();
single_setAttributeProperties_ReturnOfPayable_periodFrom();
single_setAttributeProperties_ReturnOfPayable_periodTo();
single_setAttributeProperties_ReturnOfPayable_interestPercentage();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierIncentiveOnTopupRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SupplierIncentiveOnTopupRecord_multipleTopups();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"TopupDetail",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_TopupDetail_modeOfPayment();
single_setAttributeProperties_TopupDetail_bank();
single_setAttributeProperties_TopupDetail_currency();
single_setAttributeProperties_TopupDetail_amount();
single_setAttributeProperties_TopupDetail_incentivePercentage();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierMSFFeeRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SupplierMSFFeeRecord_percentage();
single_setAttributeProperties_SupplierMSFFeeRecord_amount();
single_setAttributeProperties_SupplierMSFFeeRecord_currency();
single_setAttributeProperties_SupplierMSFFeeRecord_serviceTaxApplied();
single_setAttributeProperties_SupplierMSFFeeRecord_transactionType();
single_setAttributeProperties_SupplierMSFFeeRecord_typeOfMSFCharges();
single_setAttributeProperties_SupplierMSFFeeRecord_percentageValue();
single_setAttributeProperties_SupplierMSFFeeRecord_amountValue();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierLookToBookCommercialRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SupplierLookToBookCommercialRecord_byRatio();
single_setAttributeProperties_SupplierLookToBookCommercialRecord_ratePerLook();
single_setAttributeProperties_SupplierLookToBookCommercialRecord_ratePerBook();
single_setAttributeProperties_SupplierLookToBookCommercialRecord_lookCurrency();
single_setAttributeProperties_SupplierLookToBookCommercialRecord_waiverFrom();
single_setAttributeProperties_SupplierLookToBookCommercialRecord_waiverTo();
single_setAttributeProperties_SupplierLookToBookCommercialRecord_bookCurrency();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"LookToBookRatio",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_LookToBookRatio_lookFrom();
single_setAttributeProperties_LookToBookRatio_lookTo();
single_setAttributeProperties_LookToBookRatio_bookRatio();
single_setAttributeProperties_LookToBookRatio_amountPerExcessLook();
single_setAttributeProperties_LookToBookRatio_currency();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierSignUpBonusCommercialRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SupplierSignUpBonusCommercialRecord_currency();
single_setAttributeProperties_SupplierSignUpBonusCommercialRecord_value();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SignupBonusCriteria",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SignupBonusCriteria_slabType();
single_setAttributeProperties_SignupBonusCriteria_targetFrom();
single_setAttributeProperties_SignupBonusCriteria_targetTo();
single_setAttributeProperties_SignupBonusCriteria_periodFrom();
single_setAttributeProperties_SignupBonusCriteria_periodTo();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierOtherFeeCommercialRecord",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SupplierOtherFeeCommercialRecord_refundable();
single_setAttributeProperties_SupplierOtherFeeCommercialRecord_recurring();
single_setAttributeProperties_SupplierOtherFeeCommercialRecord_onDemand();
single_setAttributeProperties_SupplierOtherFeeCommercialRecord_percentage();
single_setAttributeProperties_SupplierOtherFeeCommercialRecord_value();
single_setAttributeProperties_SupplierOtherFeeCommercialRecord_currency();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"DynamicFeeConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_DynamicFeeConfig_commercialHead();
single_setAttributeProperties_DynamicFeeConfig_percentage();
single_setAttributeProperties_DynamicFeeConfig_from();
single_setAttributeProperties_DynamicFeeConfig_to();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"PaymentAdviceForOtherFee",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_PaymentAdviceForOtherFee_commercial();
single_setAttributeProperties_PaymentAdviceForOtherFee_copiedFrom();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupplierCommercialAdvanceDefinition",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SupplierCommercialAdvanceDefinition_supplier();
single_setAttributeProperties_SupplierCommercialAdvanceDefinition_bookingType();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"AbstractAdvDefConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_AbstractAdvDefConfig_exclusion();
single_setAttributeProperties_AbstractAdvDefConfig_trigger();
single_setAttributeProperties_AbstractAdvDefConfig_payout();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"CommercialsValidityConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_CommercialsValidityConfig_validityOn();
single_setAttributeProperties_CommercialsValidityConfig_validFrom();
single_setAttributeProperties_CommercialsValidityConfig_validTo();
single_setAttributeProperties_CommercialsValidityConfig_blockOutFrom();
single_setAttributeProperties_CommercialsValidityConfig_blockOutTo();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"SupCommAdvDefPassengerConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_SupCommAdvDefPassengerConfig_passengerType();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"AirSupplierAdvanceDefinition",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_AirSupplierAdvanceDefinition_fareTypes();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"TravelDestinationConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_TravelDestinationConfig_toContinent();
single_setAttributeProperties_TravelDestinationConfig_toCountry();
single_setAttributeProperties_TravelDestinationConfig_toCity();
single_setAttributeProperties_TravelDestinationConfig_state();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"AirTravelDestinationConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_AirTravelDestinationConfig_directFlight();
single_setAttributeProperties_AirTravelDestinationConfig_viaOnline();
single_setAttributeProperties_AirTravelDestinationConfig_siti();
single_setAttributeProperties_AirTravelDestinationConfig_sito();
single_setAttributeProperties_AirTravelDestinationConfig_soti();
single_setAttributeProperties_AirTravelDestinationConfig_soto();
single_setAttributeProperties_AirTravelDestinationConfig_oneWay();
single_setAttributeProperties_AirTravelDestinationConfig_return();
single_setAttributeProperties_AirTravelDestinationConfig_multiCity();
single_setAttributeProperties_AirTravelDestinationConfig_codeShareFlightIncluded();
single_setAttributeProperties_AirTravelDestinationConfig_fromContinent();
single_setAttributeProperties_AirTravelDestinationConfig_fromCountry();
single_setAttributeProperties_AirTravelDestinationConfig_fromCity();
single_setAttributeProperties_AirTravelDestinationConfig_viaContinent();
single_setAttributeProperties_AirTravelDestinationConfig_viaCountry();
single_setAttributeProperties_AirTravelDestinationConfig_viaCity();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"FlightTimingsConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_FlightTimingsConfig_flightTimeFrom();
single_setAttributeProperties_FlightTimingsConfig_flightTimeTo();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"FlightNumbersConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_FlightNumbersConfig_flightnumberFrom();
single_setAttributeProperties_FlightNumbersConfig_flightNumberTo();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"BookingClassesConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_BookingClassesConfig_cabinClass();
single_setAttributeProperties_BookingClassesConfig_rbd();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"FareClassesConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_FareClassesConfig_fareBasis();
single_setAttributeProperties_FareClassesConfig_fareBasisValue();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"DealCodeConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_DealCodeConfig_dealCode();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"AccoSupplierAdvanceDefinition",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"RoomTypeConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_RoomTypeConfig_roomType();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"RoomCategoryConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_RoomCategoryConfig_roomCategory();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"ClientNationalityConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_ClientNationalityConfig_clientNationality();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"ActivitySupplierAdvanceDefinition",
false,
true,
true,
null,
customPropsMap
);
}
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"TransportSupplierAdvanceDefinition",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_TransportSupplierAdvanceDefinition_paymentType();
single_setAttributeProperties_TransportSupplierAdvanceDefinition_rateApplicableFor();
single_setAttributeProperties_TransportSupplierAdvanceDefinition_category();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"VehicleConfig",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_VehicleConfig_sippCode();
single_setAttributeProperties_VehicleConfig_vehicleCategory();
single_setAttributeProperties_VehicleConfig_vehicleName();
{
Map customPropsMap = new HashMap();
setItemTypeProperties(
"HolidaySupplierAdvanceDefinition",
false,
true,
true,
null,
customPropsMap
);
}
single_setAttributeProperties_HolidaySupplierAdvanceDefinition_extensionNights();
single_setAttributeProperties_HolidaySupplierAdvanceDefinition_flights();
single_setAttributeProperties_HolidaySupplierAdvanceDefinition_cancellationCharges();
single_setAttributeProperties_HolidaySupplierAdvanceDefinition_optionalTours();
single_setAttributeProperties_HolidaySupplierAdvanceDefinition_tripProtection();
single_setAttributeProperties_HolidaySupplierAdvanceDefinition_supplement();
single_setAttributeProperties_HolidaySupplierAdvanceDefinition_surcharge();
single_setAttributeProperties_HolidaySupplierAdvanceDefinition_upgrade();
}
public void single_setAttributeProperties_AbstractCommercialDefinition_productCategorySubType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialDefinition",
"productCategorySubType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractCommercialDefinition_supplier() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialDefinition",
"supplier",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractCommercialDefinition_commercialHead() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialDefinition",
"commercialHead",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractCommercialDefinition_commercialType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialDefinition",
"commercialType",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierStandardCommercial_workFlowStatus() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierStandardCommercial",
"workFlowStatus",
false,
em().getEnumerationValue("WorkFlowStatus","DRAFT"),
"em().getEnumerationValue(\"WorkFlowStatus\",\"DRAFT\")",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractCommercialRecord_description() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"description",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractCommercialRecord_validFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"validFrom",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractCommercialRecord_validTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"validTo",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractCommercialRecord_commercialType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"commercialType",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractCommercialRecord_workFlowStatus() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"workFlowStatus",
false,
em().getEnumerationValue("WorkFlowStatus","DRAFT"),
"em().getEnumerationValue(\"WorkFlowStatus\",\"DRAFT\")",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractCommercialRecord_lockedBy() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"lockedBy",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractCommercialRecord_approvalStatus() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"approvalStatus",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractCommercialRecord_copiedFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"copiedFrom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialProductInfo_product() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialProductInfo",
"product",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_RailProductInfo_channel() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RailProductInfo",
"channel",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_RailProductInfo_train() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RailProductInfo",
"train",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_RailProductInfo_trainCategory() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RailProductInfo",
"trainCategory",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_RailProductInfo_ticketType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RailProductInfo",
"ticketType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_RailProductInfo_groupMode() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RailProductInfo",
"groupMode",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_RailProductInfo_fareType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RailProductInfo",
"fareType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_RailProductInfo_passName() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RailProductInfo",
"passName",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_transactionWiseSettlement() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"transactionWiseSettlement",
false,
Boolean.TRUE,
"Boolean.TRUE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_transactional() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"transactional",
false,
Boolean.TRUE,
"Boolean.TRUE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_comissionable() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"comissionable",
false,
Boolean.TRUE,
"Boolean.TRUE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_commercialValue() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"commercialValue",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_calculationType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"calculationType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_commercialHeadForCalculationType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"commercialHeadForCalculationType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_markDownComplete() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"markDownComplete",
false,
Boolean.TRUE,
"Boolean.TRUE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_markDownCompleteClientType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"markDownCompleteClientType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_minMarkupPercentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"minMarkupPercentage",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_maxMarkupPercentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"maxMarkupPercentage",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_minMaxMarkupClientType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"minMaxMarkupClientType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_GeneralCommercialRecord_final() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"final",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FixedCommercialValue_percentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FixedCommercialValue",
"percentage",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FixedCommercialValue_amount() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FixedCommercialValue",
"amount",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FixValues_percentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FixValues",
"percentage",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FixValues_amountValue() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FixValues",
"amountValue",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FixValues_currency() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FixValues",
"currency",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FixValues_fareComponent() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FixValues",
"fareComponent",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SlabCommercialValue_segment() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SlabCommercialValue",
"segment",
false,
em().getEnumerationValue("Segment","ACTIVE"),
"em().getEnumerationValue(\"Segment\",\"ACTIVE\")",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SlabCommercialValue_cumulative() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SlabCommercialValue",
"cumulative",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SlabCommercialValue_slabType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SlabCommercialValue",
"slabType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SlabCommercialValue_fareComponent() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SlabCommercialValue",
"fareComponent",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialValueRange_currency() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialValueRange",
"currency",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialValueRange_from() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialValueRange",
"from",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialValueRange_to() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialValueRange",
"to",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialValueRange_fromInWords() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialValueRange",
"fromInWords",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialValueRange_toInWords() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialValueRange",
"toInWords",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialRateTypeDetail_rateType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialRateTypeDetail",
"rateType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialRateTypeDetail_rateCode() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialRateTypeDetail",
"rateCode",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierFOCCommercialRecord_plbApplicable() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierFOCCommercialRecord",
"plbApplicable",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_slab() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"slab",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_fareComponent() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"fareComponent",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_slabtype() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"slabtype",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_fromValue() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"fromValue",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_fromValueInWords() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"fromValueInWords",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_toValue() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"toValue",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_toValueInWords() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"toValueInWords",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_runningEvery() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"runningEvery",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_runningType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"runningType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_focByPercentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"focByPercentage",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_noOfUpgrades() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"noOfUpgrades",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_product() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"product",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FOCRecord_passengerType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"passengerType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FlightFOCRecord_cabinClass() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightFOCRecord",
"cabinClass",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FlightFOCRecord_focTicket() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightFOCRecord",
"focTicket",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FlightFOCRecord_rbd() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightFOCRecord",
"rbd",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FlightFOCRecord_noOfTickets() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightFOCRecord",
"noOfTickets",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FlightFOCRecord_iataNumber() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightFOCRecord",
"iataNumber",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FlightFOCRecord_focCabinClass() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightFOCRecord",
"focCabinClass",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AccoFOCRecord_roomCategory() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AccoFOCRecord",
"roomCategory",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AccoFOCRecord_roomType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AccoFOCRecord",
"roomType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AccoFOCRecord_noOfRoom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AccoFOCRecord",
"noOfRoom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AccoFOCRecord_rateType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AccoFOCRecord",
"rateType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AccoFOCRecord_focRoom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AccoFOCRecord",
"focRoom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AccoFOCRecord_focRoomCategory() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AccoFOCRecord",
"focRoomCategory",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_criteriaSlabType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"criteriaSlabType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_targetFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"targetFrom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_targetTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"targetTo",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_minAchievePercentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"minAchievePercentage",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_minFromAchievePercentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"minFromAchievePercentage",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_achievementPeriod() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"achievementPeriod",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_periodFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"periodFrom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_periodTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"periodTo",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_transactionwisePenalty() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"transactionwisePenalty",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_periodwisePenalty() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"periodwisePenalty",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_percentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"percentage",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_penaltySlabType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"penaltySlabType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_currency() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"currency",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PenaltyCriteria_value() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"value",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierTerminationFeeCommercialRecord_fixed() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierTerminationFeeCommercialRecord",
"fixed",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierTerminationFeeCommercialRecord_returnsOfPayable() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierTerminationFeeCommercialRecord",
"returnsOfPayable",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierTerminationFeeCommercialRecord_currency() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierTerminationFeeCommercialRecord",
"currency",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierTerminationFeeCommercialRecord_value() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierTerminationFeeCommercialRecord",
"value",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_ReturnOfPayable_commercialHead() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"ReturnOfPayable",
"commercialHead",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_ReturnOfPayable_periodFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"ReturnOfPayable",
"periodFrom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_ReturnOfPayable_periodTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"ReturnOfPayable",
"periodTo",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_ReturnOfPayable_interestPercentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"ReturnOfPayable",
"interestPercentage",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierIncentiveOnTopupRecord_multipleTopups() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierIncentiveOnTopupRecord",
"multipleTopups",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TopupDetail_modeOfPayment() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TopupDetail",
"modeOfPayment",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TopupDetail_bank() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TopupDetail",
"bank",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TopupDetail_currency() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TopupDetail",
"currency",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TopupDetail_amount() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TopupDetail",
"amount",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TopupDetail_incentivePercentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TopupDetail",
"incentivePercentage",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierMSFFeeRecord_percentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeRecord",
"percentage",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierMSFFeeRecord_amount() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeRecord",
"amount",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierMSFFeeRecord_currency() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeRecord",
"currency",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierMSFFeeRecord_serviceTaxApplied() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeRecord",
"serviceTaxApplied",
false,
Boolean.TRUE,
"Boolean.TRUE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierMSFFeeRecord_transactionType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeRecord",
"transactionType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierMSFFeeRecord_typeOfMSFCharges() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeRecord",
"typeOfMSFCharges",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierMSFFeeRecord_percentageValue() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeRecord",
"percentageValue",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierMSFFeeRecord_amountValue() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeRecord",
"amountValue",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierLookToBookCommercialRecord_byRatio() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierLookToBookCommercialRecord",
"byRatio",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierLookToBookCommercialRecord_ratePerLook() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierLookToBookCommercialRecord",
"ratePerLook",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierLookToBookCommercialRecord_ratePerBook() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierLookToBookCommercialRecord",
"ratePerBook",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierLookToBookCommercialRecord_lookCurrency() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierLookToBookCommercialRecord",
"lookCurrency",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierLookToBookCommercialRecord_waiverFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierLookToBookCommercialRecord",
"waiverFrom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierLookToBookCommercialRecord_waiverTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierLookToBookCommercialRecord",
"waiverTo",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierLookToBookCommercialRecord_bookCurrency() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierLookToBookCommercialRecord",
"bookCurrency",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_LookToBookRatio_lookFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"LookToBookRatio",
"lookFrom",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_LookToBookRatio_lookTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"LookToBookRatio",
"lookTo",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_LookToBookRatio_bookRatio() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"LookToBookRatio",
"bookRatio",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_LookToBookRatio_amountPerExcessLook() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"LookToBookRatio",
"amountPerExcessLook",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_LookToBookRatio_currency() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"LookToBookRatio",
"currency",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierSignUpBonusCommercialRecord_currency() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierSignUpBonusCommercialRecord",
"currency",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierSignUpBonusCommercialRecord_value() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierSignUpBonusCommercialRecord",
"value",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SignupBonusCriteria_slabType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SignupBonusCriteria",
"slabType",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SignupBonusCriteria_targetFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SignupBonusCriteria",
"targetFrom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SignupBonusCriteria_targetTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SignupBonusCriteria",
"targetTo",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SignupBonusCriteria_periodFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SignupBonusCriteria",
"periodFrom",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SignupBonusCriteria_periodTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SignupBonusCriteria",
"periodTo",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierOtherFeeCommercialRecord_refundable() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierOtherFeeCommercialRecord",
"refundable",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierOtherFeeCommercialRecord_recurring() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierOtherFeeCommercialRecord",
"recurring",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierOtherFeeCommercialRecord_onDemand() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierOtherFeeCommercialRecord",
"onDemand",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierOtherFeeCommercialRecord_percentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierOtherFeeCommercialRecord",
"percentage",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierOtherFeeCommercialRecord_value() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierOtherFeeCommercialRecord",
"value",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierOtherFeeCommercialRecord_currency() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierOtherFeeCommercialRecord",
"currency",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_DynamicFeeConfig_commercialHead() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"DynamicFeeConfig",
"commercialHead",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_DynamicFeeConfig_percentage() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"DynamicFeeConfig",
"percentage",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_DynamicFeeConfig_from() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"DynamicFeeConfig",
"from",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_DynamicFeeConfig_to() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"DynamicFeeConfig",
"to",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PaymentAdviceForOtherFee_commercial() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PaymentAdviceForOtherFee",
"commercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_PaymentAdviceForOtherFee_copiedFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PaymentAdviceForOtherFee",
"copiedFrom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierCommercialAdvanceDefinition_supplier() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierCommercialAdvanceDefinition",
"supplier",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupplierCommercialAdvanceDefinition_bookingType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierCommercialAdvanceDefinition",
"bookingType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractAdvDefConfig_exclusion() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractAdvDefConfig",
"exclusion",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractAdvDefConfig_trigger() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractAdvDefConfig",
"trigger",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AbstractAdvDefConfig_payout() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractAdvDefConfig",
"payout",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialsValidityConfig_validityOn() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialsValidityConfig",
"validityOn",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialsValidityConfig_validFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialsValidityConfig",
"validFrom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialsValidityConfig_validTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialsValidityConfig",
"validTo",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialsValidityConfig_blockOutFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialsValidityConfig",
"blockOutFrom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_CommercialsValidityConfig_blockOutTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialsValidityConfig",
"blockOutTo",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_SupCommAdvDefPassengerConfig_passengerType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupCommAdvDefPassengerConfig",
"passengerType",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirSupplierAdvanceDefinition_fareTypes() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirSupplierAdvanceDefinition",
"fareTypes",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TravelDestinationConfig_toContinent() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TravelDestinationConfig",
"toContinent",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TravelDestinationConfig_toCountry() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TravelDestinationConfig",
"toCountry",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TravelDestinationConfig_toCity() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TravelDestinationConfig",
"toCity",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TravelDestinationConfig_state() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TravelDestinationConfig",
"state",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_directFlight() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"directFlight",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_viaOnline() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"viaOnline",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_siti() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"siti",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_sito() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"sito",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_soti() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"soti",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_soto() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"soto",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_oneWay() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"oneWay",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_return() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"return",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_multiCity() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"multiCity",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_codeShareFlightIncluded() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"codeShareFlightIncluded",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_fromContinent() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"fromContinent",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_fromCountry() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"fromCountry",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_fromCity() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"fromCity",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_viaContinent() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"viaContinent",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_viaCountry() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"viaCountry",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_AirTravelDestinationConfig_viaCity() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirTravelDestinationConfig",
"viaCity",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FlightTimingsConfig_flightTimeFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightTimingsConfig",
"flightTimeFrom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FlightTimingsConfig_flightTimeTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightTimingsConfig",
"flightTimeTo",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FlightNumbersConfig_flightnumberFrom() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightNumbersConfig",
"flightnumberFrom",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FlightNumbersConfig_flightNumberTo() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightNumbersConfig",
"flightNumberTo",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_BookingClassesConfig_cabinClass() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"BookingClassesConfig",
"cabinClass",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_BookingClassesConfig_rbd() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"BookingClassesConfig",
"rbd",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FareClassesConfig_fareBasis() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FareClassesConfig",
"fareBasis",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_FareClassesConfig_fareBasisValue() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FareClassesConfig",
"fareBasisValue",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_DealCodeConfig_dealCode() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"DealCodeConfig",
"dealCode",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_RoomTypeConfig_roomType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RoomTypeConfig",
"roomType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_RoomCategoryConfig_roomCategory() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RoomCategoryConfig",
"roomCategory",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_ClientNationalityConfig_clientNationality() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"ClientNationalityConfig",
"clientNationality",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TransportSupplierAdvanceDefinition_paymentType() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TransportSupplierAdvanceDefinition",
"paymentType",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TransportSupplierAdvanceDefinition_rateApplicableFor() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TransportSupplierAdvanceDefinition",
"rateApplicableFor",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_TransportSupplierAdvanceDefinition_category() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TransportSupplierAdvanceDefinition",
"category",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_VehicleConfig_sippCode() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"VehicleConfig",
"sippCode",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_VehicleConfig_vehicleCategory() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"VehicleConfig",
"vehicleCategory",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_VehicleConfig_vehicleName() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"VehicleConfig",
"vehicleName",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_HolidaySupplierAdvanceDefinition_extensionNights() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"HolidaySupplierAdvanceDefinition",
"extensionNights",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_HolidaySupplierAdvanceDefinition_flights() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"HolidaySupplierAdvanceDefinition",
"flights",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_HolidaySupplierAdvanceDefinition_cancellationCharges() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"HolidaySupplierAdvanceDefinition",
"cancellationCharges",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_HolidaySupplierAdvanceDefinition_optionalTours() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"HolidaySupplierAdvanceDefinition",
"optionalTours",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_HolidaySupplierAdvanceDefinition_tripProtection() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"HolidaySupplierAdvanceDefinition",
"tripProtection",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_HolidaySupplierAdvanceDefinition_supplement() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"HolidaySupplierAdvanceDefinition",
"supplement",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_HolidaySupplierAdvanceDefinition_surcharge() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"HolidaySupplierAdvanceDefinition",
"surcharge",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setAttributeProperties_HolidaySupplierAdvanceDefinition_upgrade() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"HolidaySupplierAdvanceDefinition",
"upgrade",
false,
Boolean.FALSE,
"Boolean.FALSE",
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_SupComlDef2SupMarketRel_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMarket",
"commercialDefinitions",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_SupComlDef2SupMarketRel_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialDefinition",
"supplierMarkets",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_genCommercialrcd2ProductInfos_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialProductInfo",
"commercials",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_genCommercialrcd2ProductInfos_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"utilizedProducts",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Commercial2Product_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"Product",
"commercialRecod",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Commercial2Product_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"products",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_CommercialRecord2MediaRel_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"Media",
"commercialRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_CommercialRecord2MediaRel_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"medias",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Slab2FixedCommercialValue_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FixedCommercialValue",
"slabCommercialValue",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Slab2FixedCommercialValue_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SlabCommercialValue",
"commercialValues",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_GeneralCommercial2Principal_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"Principal",
"generalCommercials",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_GeneralCommercial2Principal_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"clients",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_AbstractCom2RateTypeDetail_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialRateTypeDetail",
"commercialrcd",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_AbstractCom2RateTypeDetail_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"rateTypes",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_genCom2IATAAgency_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"IATAAgency",
"gencommercials",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_genCom2IATAAgency_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"GeneralCommercialRecord",
"iataAgencies",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Commercial2TravelogixPolicy_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TravelogixPolicy",
"commercialRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Commercial2TravelogixPolicy_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"policies",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Commercial2AdvDefRel_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierCommercialAdvanceDefinition",
"commercialsRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Commercial2AdvDefRel_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractCommercialRecord",
"advancedDefinitions",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_BusProductInfo2Route_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"BusRoute",
"busProduct",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_BusProductInfo2Route_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"BusProductInfo",
"routes",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_BusProductInfo2Operator_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"BusOperator",
"busProduct",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_BusProductInfo2Operator_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"BusProductInfo",
"operators",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_RailProductInfo2IncCountries_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"Country",
"commercialProductInfo",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_RailProductInfo2IncCountries_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RailProductInfo",
"includedCountries",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_RailProductInfo2ExcCountries_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"Country",
"commercialProductInfo",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_RailProductInfo2ExcCountries_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RailProductInfo",
"excludedCountries",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_PKCommercial2PenaltyCriteria_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PenaltyCriteria",
"commercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_PKCommercial2PenaltyCriteria_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierPenaltyKickBackCommercialRecord",
"criterias",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_TermnCom2ReturnOfPayable_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"ReturnOfPayable",
"commercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_TermnCom2ReturnOfPayable_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierTerminationFeeCommercialRecord",
"returnOfPayables",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_IncentiveOnTopup2Detail_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TopupDetail",
"commercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_IncentiveOnTopup2Detail_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierIncentiveOnTopupRecord",
"topupDetails",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_IncentiveOnTopup2Trigger_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"Trigger",
"commercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_IncentiveOnTopup2Trigger_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierIncentiveOnTopupRecord",
"triggers",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_MSFFee2PaymentMode_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PaymentMode",
"fees",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_MSFFee2PaymentMode_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeRecord",
"typesOfPayment",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_MSFFee2CreditCardType_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CreditCardType",
"fees",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_MSFFee2CreditCardType_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeRecord",
"cardTypes",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_IncentiveOnTopupCommercial2RateTypeDetail_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialRateTypeDetail",
"commercialrcd",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_IncentiveOnTopupCommercial2RateTypeDetail_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierIncentiveOnTopupRecord",
"rateTypes",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_LookToBookCommercial2Ratio_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"LookToBookRatio",
"commercial",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_LookToBookCommercial2Ratio_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierLookToBookCommercialRecord",
"lookToBookRatios",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_SignupBonusCommercial2Criteria_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SignupBonusCriteria",
"commercial",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_SignupBonusCommercial2Criteria_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierSignUpBonusCommercialRecord",
"criteria",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_OtherFee2DynamicConfig_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"DynamicFeeConfig",
"commercial",
true,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_OtherFee2DynamicConfig_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierOtherFeeCommercialRecord",
"percentages",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_OtherFee2ProdCatSubType_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"ProductCategorySubType",
"otherFees",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_OtherFee2ProdCatSubType_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierOtherFeeCommercialRecord",
"applyOn",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_PaymentAdvice2PaymentDetail_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AbstractPaymentDetail",
"paymentAdvice",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_PaymentAdvice2PaymentDetail_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PaymentAdviceForOtherFee",
"paymentDetails",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_PaymentAdvice2MediaRel_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"Media",
"paymentAdvice",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_PaymentAdvice2MediaRel_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"PaymentAdviceForOtherFee",
"medias",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_TravelDestinationConfig2ProductRel_source() throws JaloBusinessException
{
//nothing to do
}
public void single_setRelAttributeProperties_TravelDestinationConfig2ProductRel_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TravelDestinationConfig",
"products",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_CommercialValidity2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierCommercialAdvanceDefinition",
"validityConfigs",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_CommercialValidity2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialsValidityConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_TravelDestination2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierCommercialAdvanceDefinition",
"travelDestinations",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_TravelDestination2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TravelDestinationConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_FlightTimings2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirSupplierAdvanceDefinition",
"flightTimings",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_FlightTimings2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightTimingsConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_FlightNumbers2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirSupplierAdvanceDefinition",
"flightNumbers",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_FlightNumbers2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FlightNumbersConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_BookingClasses2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirSupplierAdvanceDefinition",
"bookingClasses",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_BookingClasses2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"BookingClassesConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_FareClasses2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirSupplierAdvanceDefinition",
"fareClasses",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_FareClasses2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FareClassesConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_DealCodeConfig2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirSupplierAdvanceDefinition",
"dealCodes",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_DealCodeConfig2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"DealCodeConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Credential2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierCommercialAdvanceDefinition",
"credentials",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Credential2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierCredentials",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_PassengerType2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AirSupplierAdvanceDefinition",
"passengerTypes",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_PassengerType2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupCommAdvDefPassengerConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_RoomCategory2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AccoSupplierAdvanceDefinition",
"roomCategories",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_RoomCategory2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RoomCategoryConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_RoomType2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AccoSupplierAdvanceDefinition",
"roomTypes",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_RoomType2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"RoomTypeConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_ClientNationality2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"AccoSupplierAdvanceDefinition",
"clientNationalities",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_ClientNationality2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"ClientNationalityConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Vehicle2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"TransportSupplierAdvanceDefinition",
"vehicles",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_Vehicle2AdvcenceDefinition_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"VehicleConfig",
"advanceDefinition",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_TourType2AdvcenceDefinition_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"HolidaySupplierAdvanceDefinition",
"tourTypes",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_TourType2AdvcenceDefinition_target() throws JaloBusinessException
{
//nothing to do
}
public void single_setRelAttributeProperties_StdComm2StdCommRecord_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierStandardCommercialRecord",
"standardCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_StdComm2StdCommRecord_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierStandardCommercial",
"standardRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_StdComm2AdvComm_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierAdvanceCommercial",
"standardCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_StdComm2AdvComm_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierStandardCommercial",
"advCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_GenComm2GenCommRecord_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierGeneralCommercialRecord",
"generalCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_GenComm2GenCommRecord_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierGeneralCommercial",
"generalRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_RemComm2RemCommRecord_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierRemittanceCommercialRecord",
"remittanceCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_RemComm2RemCommRecord_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierRemittanceCommercial",
"remittanceRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_lookToBookComm2lookToBookRecord_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierLookToBookCommercialRecord",
"lookToBookCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_lookToBookComm2lookToBookRecord_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierLookToBookCommercial",
"lookToBookRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_incentivetopupComm2incentivetopupRecord_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierIncentiveOnTopupRecord",
"incentivetopupCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_incentivetopupComm2incentivetopupRecord_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierIncentiveOnTopupCommercial",
"incentivetopupRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_msfeeComm2msfeeRecd_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeRecord",
"msfeeCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_msfeeComm2msfeeRecd_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierMSFFeeCommercial",
"msfeeRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_otherFeeComm2otherFeeRecord_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierOtherFeeCommercialRecord",
"otherFeeCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_otherFeeComm2otherFeeRecord_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierOtherFeeCommercial",
"otherFeeRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_penaltyKickbackComm2penaltyKickbackRecord_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierPenaltyKickbackCommercialRecord",
"penaltyKickbackCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_penaltyKickbackComm2penaltyKickbackRecord_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierPenaltyKickbackCommercial",
"penaltyKickbackRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_signUpBonuscomm2signUpBonusRecord_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierSignUpBonusCommercialRecord",
"signUpBonusCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_signUpBonuscomm2signUpBonusRecord_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierSignUpBonusCommercial",
"signUpBonusRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_terminationFeeComm2terminationFeeRecord_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierTerminationFeeCommercialRecord",
"terminationFeeCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_terminationFeeComm2terminationFeeRecord_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierTerminationFeeCommercial",
"terminationFeeRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_SupplierFOCCommercial2SupplierFOCCommercialRecord_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierFOCCommercialRecord",
"focCommercial",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_SupplierFOCCommercial2SupplierFOCCommercialRecord_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierFOCCommercial",
"focCommercialRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_SupplierFOCCommercialRecord2FOCRecord_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FOCRecord",
"focCommercialRecord",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_SupplierFOCCommercialRecord2FOCRecord_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SupplierFOCCommercialRecord",
"focRecords",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_commValue2Fixedvalue_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FixValues",
"fixedcommvalue",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_commValue2Fixedvalue_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"FixedCommercialValue",
"fixValues",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_slabcommValue2valueRange_source() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"CommercialValueRange",
"slabcommvalue",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
public void single_setRelAttributeProperties_slabcommValue2valueRange_target() throws JaloBusinessException
{
Map customPropsMap = new HashMap();
setAttributeProperties(
"SlabCommercialValue",
"fixValues",
false,
null,
null,
null,
true,
true,
null,
customPropsMap,
null
);
}
}
|
package homework1;
//Name: Nupur Dixit
//Instructor: Bineet Sharma
//Date: April 21,2016
//Description: This code displays 3 features:
// 1.Prints JAVA in special pattern.
// 2.Prints the result of an expression.
// 3.Prints the area and perimeter of a Rectangle.
public class Assignment1 {
//To print word JAVA in a special pattern
public static void exercise1(){
System.out.println(" J A V V A");
System.out.println(" J A A V V A A" );
System.out.println("J J AAAAA V V AAAAA");
System.out.println(" J J A A V A A" );
}
//To print the result of expression 9.5*4.5-2.5*3/45.5-3.5
public static void exercise2(){
System.out.println("Result of expression is : "+(9.5*4.5-2.5*3)/(45.5-3.5));
}
//To print Area and Perimeter of rectangle with width=4.5 and height=7.9
//Note: Area of Rectangle=width*height
//Note: Perimeter of Rectangle=2*(width+height)
public static void exercise3(){
System.out.println("Area of Rectangle is : "+(4.5*7.9));
System.out.println("Perimeter of Rectangle is : "+(2*(4.5+7.9)));
}
//Main method to invoke the three methods i.e. exercise1(),exercise2() and
//exercise3()
public static void main(String[] args) {
exercise1();
System.out.println("");
exercise2();
System.out.println("");
exercise3();
}
}
|
package com.api.security;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.JwtBuilder;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorithm;
import javax.crypto.spec.SecretKeySpec;
import javax.xml.bind.DatatypeConverter;
import org.apache.shiro.authc.AuthenticationToken;
import java.security.Key;
import java.util.Date;
public class JWTToken {
private static final String APP_KEY = "admin";
public JWTToken(String token) {
}
public static String createJWT(String id,String issuer){
long ttlMillis = 1000 * 60 * 60 * 24 * 7;
String subject = issuer;
String audience = issuer;
return createJWT(id,issuer,subject, ttlMillis, audience);
}
public static String createJWT(String id,String issuer,String subject,long ttlMillis, String audience){
SignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256;
long nowMillis = System.currentTimeMillis();
Date now = new Date(nowMillis);
byte[] apiKeySecretBytes = DatatypeConverter.parseBase64Binary(APP_KEY);
// System.out.println(apiKeySecretBytes);
Key signingKey = new SecretKeySpec(apiKeySecretBytes, signatureAlgorithm.getJcaName());
JwtBuilder jwtBuilder = Jwts.builder()
.setId(id)
.setSubject(subject)
.setIssuedAt(now)
.setIssuer(issuer)
.setAudience(audience)
.signWith(signatureAlgorithm,signingKey);
if(ttlMillis >=0){
long expMillis = nowMillis + ttlMillis;
Date exp = new Date(expMillis);
jwtBuilder.setExpiration(exp);
}
return jwtBuilder.compact();
}
public static Claims getClaims(String jwt) {
return Jwts.parser()
.setSigningKey(DatatypeConverter.parseBase64Binary(APP_KEY))
.parseClaimsJws(jwt)
.getBody();
}
} |
package com.rofour.baseball.dao.manager.mapper;
import com.rofour.baseball.dao.manager.bean.OfferBean;
import com.rofour.baseball.dao.manager.bean.OfferExpressCollageBran;
import com.rofour.baseball.dao.manager.bean.OfferExpressCompanyBran;
import javax.inject.Named;
import java.util.List;
/**
* Created by Administrator on 2016-07-06.
*/
@Named("companyOfferPriceMapper")
public interface CompanyOfferPriceMapper {
/**
* @param bean
* @return int
* @Description: 新增
*/
int insert(OfferBean bean);
int insertExpressCompany(OfferExpressCompanyBran bean);
int insertExpressCollage(OfferExpressCollageBran bean);
int deleteExpressCompany(Long areaId);
int deleteExpressCollage(Long areaId);
int update(OfferBean bean);
/**
* @param areaId
* @return int 删除数量
* @Description: 按主键ID删除菜单
**/
int deleteByPrimaryKey(Long areaId);
/**
* @return List<FocusPicBean>
* @Description: 查询所有
**/
List<OfferBean> selectAll(OfferBean bean);
int selectAllCount(OfferBean bean);
int selectIsExtNameCount(OfferBean bean);
}
|
package com.mahirkole.walkure.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.MappedSuperclass;
import javax.persistence.Version;
import java.util.Date;
import java.util.Objects;
import java.util.UUID;
@MappedSuperclass
@Embeddable
@Data
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public abstract class CoreModel {
private UUID uuid = UUID.randomUUID();
@CreatedDate
@Column(name = "createdAt")
private Date createdAt = new Date();
@LastModifiedDate
@Column(name = "updatedAt")
@Version
private Date updatedAt;
@Column(name = "deletedAt", nullable = true)
private Date deletedAt = null;
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
} else if (!(o instanceof CoreModel)) {
return false;
} else {
return (this.uuid != null) && this.uuid.equals(((CoreModel) o).uuid);
}
}
@Override
public int hashCode() {
return Objects.hash(this.uuid);
}
}
|
package com.timebank.data;
import java.sql.Timestamp;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import com.fasterxml.jackson.databind.ObjectMapper;
import entities.Address;
import entities.User;
@Transactional
@Repository
public class AddressDAOImpl implements AddressDAO {
@PersistenceContext
EntityManager em;
@Override
public Address createAddress(String addressJson) {
ObjectMapper mapper = new ObjectMapper();
Address newAddress = null;
try {
newAddress = mapper.readValue(addressJson, Address.class);
em.persist(newAddress);
em.flush();
}
catch (Exception e) {
e.printStackTrace();
}
return newAddress;
}
@Override
public Address showAddressById(int addressId) {
return em.find(Address.class, addressId);
}
@Override
public List<Address> indexAddressesByZip(int zip) {
String query = "SELECT a FROM Address a WHERE zip = :zip";
return em.createQuery(query, Address.class).setParameter("zip", zip).getResultList();
}
@Override
public List<Address> indexAddressesByState(String state) {
String query = "SELECT a FROM Address a WHERE state = :state";
return em.createQuery(query, Address.class).setParameter("state", state).getResultList();
}
@Override
public List<Address> indexAddressesByCountry(String country) {
String query = "SELECT a FROM Address a WHERE country = :country";
return em.createQuery(query, Address.class).setParameter("country", country).getResultList();
}
@Override
public Address updateAddress(User actingUser, int addressId, String addressJson) {
ObjectMapper mapper = new ObjectMapper();
Address managedAddress = em.find(Address.class, addressId);
Address newAddress = null;
try {
newAddress = mapper.readValue(addressJson, Address.class);
managedAddress.setTitle(newAddress.getTitle());
managedAddress.setDescription(newAddress.getDescription());
managedAddress.setPublicVisibility(newAddress.getPublicVisibility());
managedAddress.setStreet(newAddress.getStreet());
managedAddress.setStreet2(newAddress.getStreet2());
managedAddress.setCity(newAddress.getCity());
managedAddress.setState(newAddress.getState());
managedAddress.setZip(newAddress.getZip());
managedAddress.setCountry(newAddress.getCountry());
managedAddress.setLastUpdate(new Timestamp(System.currentTimeMillis()));
managedAddress.setLastUpdateUser(actingUser);
}
catch (Exception e) {
e.printStackTrace();
}
return managedAddress;
}
@Override
public Boolean destroyAddress(int addressId) {
// TODO Auto-generated method stub
return null;
}
}
|
package com.tencent.mm.plugin.sns.ui;
import com.tencent.mm.plugin.label.a.a;
import com.tencent.mm.sdk.platformtools.bi;
import java.util.ArrayList;
class SnsLabelUI$7 implements Runnable {
final /* synthetic */ SnsLabelUI nXL;
final /* synthetic */ String nXO;
SnsLabelUI$7(SnsLabelUI snsLabelUI, String str) {
this.nXL = snsLabelUI;
this.nXO = str;
}
public final void run() {
SnsLabelUI.a(this.nXL, (ArrayList) a.aYK().aYF());
if (SnsLabelUI.j(this.nXL) == null) {
SnsLabelUI.a(this.nXL, new ArrayList());
}
int i;
if (bi.oW(this.nXO)) {
i = -1;
} else {
if (!SnsLabelUI.j(this.nXL).contains(this.nXO)) {
SnsLabelUI.j(this.nXL).add(this.nXO);
}
i = SnsLabelUI.j(this.nXL).indexOf(this.nXO);
}
SnsLabelUI.a(this.nXL).O(SnsLabelUI.j(this.nXL));
SnsLabelUI.a(this.nXL).nXR = SnsLabelUI.k(this.nXL);
if (!bi.oW(this.nXO) && i != -1) {
if (SnsLabelUI.k(this.nXL) == 2) {
SnsLabelUI.a(this.nXL).nXT.add(this.nXO);
SnsLabelUI.a(this.nXL).nXV.clear();
} else if (SnsLabelUI.k(this.nXL) == 3) {
SnsLabelUI.a(this.nXL).nXU.add(this.nXO);
SnsLabelUI.a(this.nXL).nXW.clear();
}
SnsLabelUI.a(this.nXL).notifyDataSetChanged();
SnsLabelUI.g(this.nXL).expandGroup(SnsLabelUI.k(this.nXL));
}
}
}
|
package com.yuecheng.yue.ui.bean;
import java.util.List;
/**
* Created by Administrator on 2018/1/25.
*/
public class SearchedFriendBean {
@Override
public String toString() {
return "SearchedFriendBean{" +
"resulecode=" + resulecode +
", value=" + value +
'}';
}
/**
* resulecode : 1
* value : [{"nickname":"yuecheng01","portraituri":null}]
*/
private int resulecode;
private List<ValueBean> value;
public int getResulecode() {
return resulecode;
}
public void setResulecode(int resulecode) {
this.resulecode = resulecode;
}
public List<ValueBean> getValue() {
return value;
}
public void setValue(List<ValueBean> value) {
this.value = value;
}
public static class ValueBean {
@Override
public String toString() {
return "ValueBean{" +
"nickname='" + nickname + '\'' +
", portraituri=" + portraituri +
'}';
}
/**
* nickname : yuecheng01
* portraituri : null
*/
private String nickname;
private String portraituri;
public String getNickname() {
return nickname;
}
public void setNickname(String nickname) {
this.nickname = nickname;
}
public String getPortraituri() {
return portraituri;
}
public void setPortraituri(String portraituri) {
this.portraituri = portraituri;
}
}
}
|
package com.kashu.validator;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;
import org.springframework.validation.Validator;
import com.kashu.domain.User;
public class UserValidator implements Validator {
private static final String EMAIL_PATTERN =
"^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@" + "[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$";
@Override
public boolean supports(Class<?> clazz) {
//return User.class.equals(clazz);
return User.class.isAssignableFrom(clazz);
}
@Override
public void validate(Object obj, Errors errors) {
ValidationUtils.rejectIfEmptyOrWhitespace(errors, "username", "empty.username");
ValidationUtils.rejectIfEmptyOrWhitespace(errors, "password", "empty.password");
ValidationUtils.rejectIfEmptyOrWhitespace(errors, "cpassword", "empty.cpassword");
User user = (User) obj;
if(!user.getPassword().equals(user.getCpassword())){
errors.rejectValue("cpassword", "error.passwordDiff");
}
if(user.getUsername().length()<4||user.getUsername().length()>14){
errors.rejectValue("username", "length.username");
}
if(user.getPassword().length()<6||user.getPassword().length()>14){
errors.rejectValue("password", "length.password");
}
if(!isEmailValid(user.getEmail())){
errors.rejectValue("email", "invalid.email");
}
}
public boolean isEmailValid(String email){
Pattern pattern = Pattern.compile(EMAIL_PATTERN);
Matcher matcher = pattern.matcher(email);
return matcher.matches();
}
} |
package thread_pattern.event_driven_modle.demo;
import thread_pattern.event_driven_modle.AbstractEventListenerManager;
import thread_pattern.event_driven_modle.EventAnnotation;
import thread_pattern.event_driven_modle.GlobalEventType;
/**
*
* @ClassName: UserEventListenerManager
* @Description: 事件监听器管理类
* @Author: liulianglin
* @DateTime 2022年4月21日 下午3:08:38
*
* 不同的业务模块可以创建属于自己的EventListenerManager
*/
// @Component
public class UserEventListenerManager extends AbstractEventListenerManager {
/**
* 在构造器中调用父类的initEventListener,完成下方被注解修饰的所有事件监听器自动注册到EventDispatcher
*/
public UserEventListenerManager() {
super.initEventListener();
}
/**
* 通过@EventAnnotation定义该事件监听器感兴趣的事件类型
*/
@EventAnnotation(eventType= GlobalEventType.LOGIN)
public UserLoginEventListener exampleEvent;
//这里继续添加其他事件监听器
//@Evt(eventType=GlobalEventType.EXIT)
//public UserLoginEventListener exampleEvent2;
} |
package com.yinghai.a24divine_user.module.divine.book.model;
import com.example.fansonlib.base.BaseModel;
import com.example.fansonlib.http.HttpResponseCallback;
import com.example.fansonlib.http.HttpUtils;
import com.example.fansonlib.utils.SharePreferenceHelper;
import com.yinghai.a24divine_user.bean.BusinessBean;
import com.yinghai.a24divine_user.constant.ConHttp;
import com.yinghai.a24divine_user.constant.ConResultCode;
import com.yinghai.a24divine_user.constant.ConstantPreference;
import com.yinghai.a24divine_user.module.divine.book.ContractBusinessList;
import com.yinghai.a24divine_user.utils.ValidateAPITokenUtil;
import java.util.HashMap;
import java.util.Map;
/**
* @author Created by:fanson
* Created on:2017/12/15 13:20
* Description:获取占卜师业务列表M层
* @Param
*/
public class BusinessListModel extends BaseModel implements ContractBusinessList.IModel{
private IBusinessCallback mCallback;
private static final int PAGE_SIZE = 10;
@Override
public void onBusinessList(int masterId,int pageNum,IBusinessCallback callback) {
mCallback = callback;
String time = String.valueOf(System.currentTimeMillis());
Map<String,Object> maps = new HashMap<>(6);
maps.put("userId", SharePreferenceHelper.getInt(ConstantPreference.I_USER_ID,0));
maps.put("masterId",masterId);
maps.put("page",pageNum);
maps.put("pageSize",PAGE_SIZE);
maps.put("apiSendTime", time);
maps.put("apiToken", ValidateAPITokenUtil.ctreatTokenStringByTimeString(time));
HttpUtils.getHttpUtils().post(ConHttp.BUSINESS,maps, new HttpResponseCallback<BusinessBean>() {
@Override
public void onSuccess(BusinessBean bean) {
if (mCallback ==null){
return;
}
switch (bean.getCode()) {
case ConResultCode.SUCCESS:
mCallback.onBusinessListSuccess(bean.getData());
break;
default:
mCallback.handlerResultCode(bean.getCode());
break;
}
}
@Override
public void onFailure(String errorMsg) {
if (mCallback!=null){
mCallback.onBusinessListFailure(errorMsg);
}
}
});
}
@Override
public void onDestroy() {
super.onDestroy();
mCallback = null;
}
}
|
package com.example.yudipratistha.dompetku.model;
//import javax.annotation.Generated;
import com.google.gson.annotations.SerializedName;
//@Generated("com.robohorse.robopojogenerator")
public class UpdateTransaksi{
@SerializedName("updateTransaksi")
private UpdateTransaksi updateTransaksi;
@SerializedName("status_update")
private String statusUpdate;
@SerializedName("id_kategori")
private String idKategori;
@SerializedName("jumlah")
private String jumlah;
@SerializedName("updated_at")
private String updatedAt;
@SerializedName("status_delete")
private String statusDelete;
@SerializedName("catatan")
private String catatan;
@SerializedName("created_at")
private String createdAt;
@SerializedName("id")
private int id;
@SerializedName("id_user")
private int idUser;
@SerializedName("tanggal")
private String tanggal;
public void setUpdateTransaksi(UpdateTransaksi updateTransaksi){
this.updateTransaksi = updateTransaksi;
}
public UpdateTransaksi getUpdateTransaksi(){
return updateTransaksi;
}
public void setStatusUpdate(String statusUpdate){
this.statusUpdate = statusUpdate;
}
public String getStatusUpdate(){
return statusUpdate;
}
public void setIdKategori(String idKategori){
this.idKategori = idKategori;
}
public String getIdKategori(){
return idKategori;
}
public void setJumlah(String jumlah){
this.jumlah = jumlah;
}
public String getJumlah(){
return jumlah;
}
public void setUpdatedAt(String updatedAt){
this.updatedAt = updatedAt;
}
public String getUpdatedAt(){
return updatedAt;
}
public void setStatusDelete(String statusDelete){
this.statusDelete = statusDelete;
}
public String getStatusDelete(){
return statusDelete;
}
public void setCatatan(String catatan){
this.catatan = catatan;
}
public String getCatatan(){
return catatan;
}
public void setCreatedAt(String createdAt){
this.createdAt = createdAt;
}
public String getCreatedAt(){
return createdAt;
}
public void setId(int id){
this.id = id;
}
public int getId(){
return id;
}
public void setIdUser(int idUser){
this.idUser = idUser;
}
public int getIdUser(){
return idUser;
}
public void setTanggal(String tanggal){
this.tanggal = tanggal;
}
public String getTanggal(){
return tanggal;
}
@Override
public String toString(){
return
"UpdateTransaksi{" +
"updateTransaksi = '" + updateTransaksi + '\'' +
",status_update = '" + statusUpdate + '\'' +
",id_kategori = '" + idKategori + '\'' +
",jumlah = '" + jumlah + '\'' +
",updated_at = '" + updatedAt + '\'' +
",status_delete = '" + statusDelete + '\'' +
",catatan = '" + catatan + '\'' +
",created_at = '" + createdAt + '\'' +
",id = '" + id + '\'' +
",id_user = '" + idUser + '\'' +
",tanggal = '" + tanggal + '\'' +
"}";
}
} |
package come.example.softwarePatterns.items;
public class PaymentMethod {
}
|
package br.com.scd.demo.vote;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import br.com.scd.demo.associated.AssociatedEntity;
import br.com.scd.demo.associated.AssociatedService;
import br.com.scd.demo.exception.AssociatedDoesntExistsException;
import br.com.scd.demo.exception.AssociatedHasAlreadyVotedInSessionException;
import br.com.scd.demo.exception.SessionClosedException;
import br.com.scd.demo.exception.SessionDoesnExistsException;
import br.com.scd.demo.session.SessionEntity;
import br.com.scd.demo.session.SessionService;
@Service
public class VoteService {
@Autowired
private VoteRepository voteRepository;
@Autowired
private SessionService sessionService;
@Autowired
private AssociatedService associatedService;
public Vote vote(VoteForInsert voteForInsert) {
Optional<SessionEntity> sessionEntity = sessionService.findById(voteForInsert.getSessionId());
checkSession(sessionEntity);
Optional<AssociatedEntity> associatedEntity = associatedService.findById(voteForInsert.getAssociatedId());
checkAssociated(voteForInsert, associatedEntity);
VoteEntity voteEntity = VoteEntityFactory.getInstance(sessionEntity.get(), associatedEntity.get(), voteForInsert.getVote());
voteEntity = voteRepository.save(voteEntity);
return VoteFactory.getInstance(voteEntity);
}
private void checkAssociated(VoteForInsert voteForInsert, Optional<AssociatedEntity> associatedEntity) {
checkAssociatedExists(associatedEntity);
checkAssociatedHasAlreadyVotedInSession(voteForInsert);
}
private void checkAssociatedHasAlreadyVotedInSession(VoteForInsert voteForInsert) {
Optional<VoteEntity> existingVote = voteRepository.findBySessionIdAndAssociatedId(voteForInsert.getSessionId(),
voteForInsert.getAssociatedId());
checkAssociatedHasAlreadyVotedInSession(existingVote);
}
private void checkSession(Optional<SessionEntity> sessionEntity) {
checkSessionExists(sessionEntity);
checkSessionIsOpen(sessionEntity.get());
}
private void checkAssociatedExists(Optional<AssociatedEntity> associatedEntity) {
if (!associatedEntity.isPresent()) {
throw new AssociatedDoesntExistsException();
}
}
private void checkSessionIsOpen(SessionEntity sessionEntity) {
if(sessionEntity.isClosed()) {
throw new SessionClosedException(sessionEntity.getEndDate());
}
}
private void checkAssociatedHasAlreadyVotedInSession(Optional<VoteEntity> existingVote) {
if (existingVote.isPresent()) {
throw new AssociatedHasAlreadyVotedInSessionException();
}
}
private void checkSessionExists(Optional<SessionEntity> sessionEntity) {
if (!sessionEntity.isPresent()) {
throw new SessionDoesnExistsException();
}
}
}
|
package com.example.todolist.Main.Today;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.Toast;
import com.example.todolist.Di.ViewModelFactory;
import com.example.todolist.Main.GroupsViewModel;
import com.example.todolist.Model.Entities.Groups;
import com.example.todolist.Model.Entities.Tasks;
import com.example.todolist.Model.Repositories.GroupsRepository;
import com.example.todolist.R;
import com.example.todolist.entry.EntryActivity;
import com.example.todolist.tasks.TasksActivity;
import com.example.todolist.tasks.TasksAdapter;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import dagger.android.support.AndroidSupportInjection;
import io.reactivex.CompletableObserver;
import io.reactivex.SingleObserver;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.annotations.NonNull;
import io.reactivex.disposables.Disposable;
import io.reactivex.schedulers.Schedulers;
public class TodayFragment extends Fragment implements TodayGroupsAdapter.OnItemClicked {
private View rootView;
private RecyclerView recyclerView;
private TodayGroupsAdapter todayGroupsAdapter;
private LinearLayout emptyStateToday;
@Inject
public GroupsRepository groupsRepository;
private GroupsViewModel groupsViewModel;
private Disposable disposable;
private String groupLabel;
@Inject
public ViewModelFactory viewModelFactory_new;
// @Inject
// public ViewModelFactory viewModelFactory;
public static TodayFragment newInstance(String text) {
TodayFragment f = new TodayFragment();
Bundle b = new Bundle();
b.putString("msg", text);
f.setArguments(b);
return f;
}
// @Override
// public void onCreate(Bundle savedInstanceState) {
// super.onCreate(savedInstanceState);
// if (getArguments() != null) {
// mParam1 = getArguments().getString(ARG_PARAM1);
// mParam2 = getArguments().getString(ARG_PARAM2);
// }
// }
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
rootView = inflater.inflate(R.layout.fragment_today, container, false);
AndroidSupportInjection.inject(this);
initialize();
// checkFirstTime();
showTodayGroups();
return rootView;
}
private void initialize() {
recyclerView = rootView.findViewById(R.id.rc_GroupListToday);
emptyStateToday = rootView.findViewById(R.id.emptyStateToday);
// groupsViewModel = new ViewModelProvider(this, new GroupsViewModelFactory(groupsRepository, 1)).get(GroupsViewModel.class);
groupsViewModel = new ViewModelProvider(this, viewModelFactory_new).get(GroupsViewModel.class);
}
private void showTodayGroups() {
// GroupsViewModel groupsViewModel = new ViewModelProvider(this, new GroupsViewModelFactory(groupsRepository, 1)).get(GroupsViewModel.class);
groupsViewModel.getGroupsToday().observe(getViewLifecycleOwner(), t -> {
if (t.size() < 1) {
emptyStateToday.setVisibility(View.VISIBLE);
} else {
emptyStateToday.setVisibility(View.GONE);
}
RecyclerView.LayoutManager mLayoutManager = new GridLayoutManager(rootView.getContext(), 2);
recyclerView.setLayoutManager(mLayoutManager);
// recyclerView.setLayoutManager(new LinearLayoutManager(rootView.getContext(), RecyclerView.VERTICAL, false));
todayGroupsAdapter = new TodayGroupsAdapter(t);
recyclerView.setAdapter(todayGroupsAdapter);
todayGroupsAdapter.setOnClick(this);
});
// groupsViewModel.getError().observe(getViewLifecycleOwner(), e -> {
// Toast.makeText(rootView.getContext(), "Failed Sync Your Groups!!!", Toast.LENGTH_LONG).show();
// });
}
private void checkInternet() {
groupsViewModel.isInternetWorking().subscribeOn(Schedulers.io()).observeOn(AndroidSchedulers.mainThread()).subscribe(new SingleObserver<Boolean>() {
@Override
public void onSubscribe(@NonNull Disposable d) {
disposable = d;
}
@Override
public void onSuccess(@NonNull Boolean aBoolean) {
Intent intent = new Intent(rootView.getContext(), EntryActivity.class);
startActivity(intent);
getActivity().finish();
}
@Override
public void onError(@NonNull Throwable e) {
}
});
}
private void deleteGroup(Groups groups) {
Groups groups1 = new Groups(groups.getId(), groups.getIcon(), groups.getLabel(), groups.getCategory(), groups.isSynced(), true, groups.isUpdated(), groups.getDonePercent(), groups.getTasksCount());
groupsViewModel.updateGroup(groups1).subscribeOn(Schedulers.io()).observeOn(AndroidSchedulers.mainThread()).subscribe(new CompletableObserver() {
@Override
public void onSubscribe(@NonNull Disposable d) {
// compositeDisposable.add(d);
}
@Override
public void onComplete() {
groupLabel = groups.getLabel();
getTasks(groups.getId());
}
@Override
public void onError(@NonNull Throwable e) {
Toast.makeText(rootView.getContext(), "Deleted unsuccessfully!!", Toast.LENGTH_SHORT).show();
Log.e("TAG", "onError: ", e);
}
});
}
private void getTasks(int gpId){
groupsViewModel.getTasks(gpId).observe(getViewLifecycleOwner(), this::deleteTasks);
}
private void deleteTasks(List<Tasks> tasksList){
int counter = 0;
while (counter < tasksList.size()){
tasksList.get(counter).setDeleted(true);
groupsViewModel.setScheduleNotification(groupLabel, tasksList.get(counter).getContent(), R.drawable.ic_github, tasksList.get(counter).getDate(), tasksList.get(counter).isRepeatTask(), tasksList.get(counter).getId(), true);
counter++;
}
groupsViewModel.updateTask2(tasksList).subscribeOn(Schedulers.io()).observeOn(AndroidSchedulers.mainThread()).subscribe(new CompletableObserver() {
@Override
public void onSubscribe(@NonNull Disposable d) {
}
@Override
public void onComplete() {
Toast.makeText(rootView.getContext(), "Deleted successfully", Toast.LENGTH_SHORT).show();
}
@Override
public void onError(@NonNull Throwable e) {
}
});
}
private void dialog(Groups groups) {
new AlertDialog.Builder(rootView.getContext())
.setTitle("Delete group")
.setMessage("Are you sure you want to delete this group?")
// Specifying a listener allows you to take an action before dismissing the dialog.
// The dialog is automatically dismissed when a dialog button is clicked.
.setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
// Continue with delete operation
deleteGroup(groups);
}
})
// .setNeutralButton("Edit task", new DialogInterface.OnClickListener() {
// @Override
// public void onClick(DialogInterface dialogInterface, int i) {
// Intent intent = new Intent(this, AddTaskActivity)
// }
// })
// A null listener allows the button to dismiss the dialog and take no further action.
.setNegativeButton(android.R.string.no, null)
// .setIcon(android.R.drawable.ic_dialog_alert)
.show();
}
private void checkFirstTime(){
// boolean s = groupsViewModel.saveDataSharedPreferences("first_time", "test");
// Log.e("TAG", "checkFirstTime: " + s );
String result = groupsViewModel.getDataSharedPreferences("first_time");
if (result != null)
checkInternet();
// SharedPreferences sharedPref = rootView.getContext().getSharedPreferences("user", Context.MODE_PRIVATE);
// sharedPref.getString("key", null);
}
@Override
public void onDestroy() {
super.onDestroy();
// disposable.dispose();
}
@Override
public void onItemClick(Groups groups) {
Intent intent = new Intent(rootView.getContext(), TasksActivity.class);
intent.putExtra("groupId",groups.getId());
intent.putExtra("groupLabel",groups.getLabel());
intent.putExtra("groupCategory","Day");
rootView.getContext().startActivity(intent);
}
@Override
public void onItemLongClick(Groups groups) {
dialog(groups);
// Toast.makeText(rootView.getContext(), groups.getLabel(), Toast.LENGTH_SHORT).show();
}
} |
package p9.server.netpaks;
import java.util.ArrayList;
import java.util.Collection;
public class EquipmentInventory extends ArrayList<EquipmentDataSet> {
public EquipmentInventory() {
//
}
public EquipmentInventory(int initialCapacity) {
super(initialCapacity);
//
}
public EquipmentInventory(Collection<? extends EquipmentDataSet> c) {
super(c);
//
}
}
|
package com.vilio.ppms.util;
import com.vilio.ppms.exception.ErrorException;
import com.vilio.ppms.glob.ReturnCode;
import net.sf.json.JSONObject;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.conn.ClientConnectionManager;
import org.apache.http.conn.scheme.Scheme;
import org.apache.http.conn.scheme.SchemeRegistry;
import org.apache.http.conn.ssl.SSLSocketFactory;
import org.apache.http.entity.ContentType;
import org.apache.http.entity.StringEntity;
import org.apache.http.entity.mime.HttpMultipartMode;
import org.apache.http.entity.mime.MultipartEntity;
import org.apache.http.entity.mime.content.ContentBody;
import org.apache.http.entity.mime.content.InputStreamBody;
import org.apache.http.entity.mime.content.StringBody;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.params.BasicHttpParams;
import org.apache.http.params.HttpConnectionParams;
import org.apache.http.params.HttpParams;
import org.apache.http.util.EntityUtils;
import org.apache.log4j.Logger;
import org.springframework.web.multipart.MultipartFile;
import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;
import java.net.SocketTimeoutException;
import java.net.URLDecoder;
import java.nio.charset.Charset;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
/**
* 类名: HttpUtil<br>
* 功能:发送http方法<br>
* 版本: 1.0<br>
* 日期: 2017年6月8日<br>
* 作者: wangxf<br>
* 版权:vilio<br>
* 说明:可以根据不同需求,新增此方法<br>
*/
@SuppressWarnings({"rawtypes", "unchecked", "deprecation", "resource"})
public class HttpUtil {
protected static Logger log = Logger.getLogger(HttpUtil.class.getName());
static int REQUEST_TIMEOUT = 60000;
static int SO_TIMEOUT = 60000;
static String CHAR_SET = "utf-8";
static String METHOD_GET = "GET";
static String METHOD_POST = "POST";
/**
* httppost请求提交参数
*
* @param url 地址
* @param params 所提交的参数
* @return
* @throws ErrorException
*/
public static String sendHttp(String url, Map<String, Object> params) throws ErrorException {
return sendHttp(url, params, REQUEST_TIMEOUT, SO_TIMEOUT);
}
/**
* httppost请求提交参数
*
* @param url 地址
* @param params 所提交的参数
* @param REQUEST_TIMEOUT
* @param SO_TIMEOUT
* @return
* @throws ErrorException
*/
private static String sendHttp(String url, Map<String, Object> params, int REQUEST_TIMEOUT, int SO_TIMEOUT)
throws ErrorException {
HttpClient httpclient = null;
HttpResponse response = null;
String result = "";
try {
List<NameValuePair> pairs = null;
if (params != null && !params.isEmpty()) {
pairs = new ArrayList<NameValuePair>(params.size());
for (String key : params.keySet()) {
pairs.add(new BasicNameValuePair(key, params.get(key).toString()));
}
}
BasicHttpParams httpParams = new BasicHttpParams();
// 设置请求超时
HttpConnectionParams.setConnectionTimeout(httpParams, REQUEST_TIMEOUT);
// 设置读取超时
HttpConnectionParams.setSoTimeout(httpParams, SO_TIMEOUT);
httpclient = new DefaultHttpClient(httpParams);
HttpPost httpPost = new HttpPost(url);
httpPost.setEntity(new UrlEncodedFormEntity(pairs, "utf-8"));
response = httpclient.execute(httpPost);
int statusCode = response.getStatusLine().getStatusCode();
if (statusCode != 200) {
httpPost.abort();
throw new ErrorException("HttpClient,error status code :" + statusCode);
}
HttpEntity resentity = response.getEntity();
result = EntityUtils.toString(resentity, "UTF-8");
return result;
} catch (SocketTimeoutException e) {
e.printStackTrace();
log.error("HttpClientUtils:网络连接超时" + e.getMessage());
throw new ErrorException(ReturnCode.TIME_OUT, "网络连接超时!");
} catch (ClientProtocolException e) {
e.printStackTrace();
log.error("HttpClientUtils:网络出现异常" + e.getMessage());
throw new ErrorException(ReturnCode.TIME_OUT, "网络出现异常!");
} catch (IOException e) {
e.printStackTrace();
log.error("HttpClientUtils:网络出现异常" + e.getMessage());
throw new ErrorException(ReturnCode.TIME_OUT, "网络出现异常!");
} catch (ErrorException e) {
e.printStackTrace();
log.error(e.getMessage());
throw new ErrorException(ReturnCode.TIME_OUT, "网络出现异常!");
} catch (Exception e) {
e.printStackTrace();
log.error("HttpClientUtils:未知异常" + e.getMessage());
throw new ErrorException(ReturnCode.SYSTEM_EXCEPTION, "");
} finally {
httpclient.getConnectionManager().shutdown();
}
}
/**
* @param url 发送的地址
* @param content 发送的内容
* @throws ErrorException
*/
public static String sendHttp(String url, String content) throws ErrorException {
return sendHttp(url, content, REQUEST_TIMEOUT, SO_TIMEOUT);
}
/**
* http方法公用
*
* @param url 发送的地址
* @param content 发送的内容
* @return
* @throws ErrorException
*/
private static String sendHttp(String url, String content, int REQUEST_TIMEOUT, int SO_TIMEOUT) throws ErrorException {
HttpClient httpclient = null;
HttpResponse response = null;
String result = "";
try {
BasicHttpParams httpParams = new BasicHttpParams();
// 设置请求超时
HttpConnectionParams.setConnectionTimeout(httpParams, REQUEST_TIMEOUT);
// 设置读取超时
HttpConnectionParams.setSoTimeout(httpParams, SO_TIMEOUT);
httpclient = new DefaultHttpClient(httpParams);
HttpPost httpPost = new HttpPost(url);
StringEntity strEntity = new StringEntity(content, "utf-8");
strEntity.setContentEncoding("UTF-8");
strEntity.setContentType("application/x-www-form-urlencoded");
httpPost.setEntity(strEntity);
response = httpclient.execute(httpPost);
HttpEntity resentity = response.getEntity();
result = EntityUtils.toString(resentity, "UTF-8");
return result;
} catch (SocketTimeoutException e) {
e.printStackTrace();
log.error("HttpClientUtils:网络连接超时" + e.getMessage());
throw new ErrorException(ReturnCode.TIME_OUT, "网络连接超时!");
} catch (ClientProtocolException e) {
e.printStackTrace();
log.error("HttpClientUtils:网络出现异常" + e.getMessage());
throw new ErrorException(ReturnCode.TIME_OUT, "网络出现异常!");
} catch (IOException e) {
e.printStackTrace();
log.error("HttpClientUtils:网络出现异常" + e.getMessage());
throw new ErrorException(ReturnCode.TIME_OUT, "网络出现异常!");
} catch (Exception e) {
e.printStackTrace();
log.error("HttpClientUtils:未知异常" + e.getMessage());
throw new ErrorException(ReturnCode.SYSTEM_EXCEPTION, "");
} finally {
httpclient.getConnectionManager().shutdown();
}
}
/**
* @param url 发送的地址
* @param params 发送的参数
* @throws ErrorException
*/
public static String sendHttps(String url, Map<String, Object> params, String method) throws ErrorException {
return sendHttps(url, params, method, REQUEST_TIMEOUT, SO_TIMEOUT, CHAR_SET);
}
/**
* 发送https求情
*
* @param url
* @param params
* @param method
* @return
* @throws ErrorException
*/
public static String sendHttps(String url, Map<String, Object> params, String method, int REQUEST_TIMEOUT, int SO_TIMEOUT,
String CHAR_SET) throws ErrorException {
String responseBody = null;
HttpClient httpclient = null;
try {
BasicHttpParams httpParams = new BasicHttpParams();
// 设置请求超时
HttpConnectionParams.setConnectionTimeout(httpParams, REQUEST_TIMEOUT);
// 设置读取超时
HttpConnectionParams.setSoTimeout(httpParams, SO_TIMEOUT);
httpclient = new DefaultHttpClient(httpParams);
SSLContext ctx = SSLContext.getInstance("SSL");
// Implementation of a trust manager for X509 certificates
X509TrustManager tm = new X509TrustManager() {
public void checkClientTrusted(X509Certificate[] xcs, String string) throws CertificateException {
}
public void checkServerTrusted(X509Certificate[] xcs, String string) throws CertificateException {
}
public X509Certificate[] getAcceptedIssuers() {
return null;
}
};
ctx.init(null, new TrustManager[]{tm}, null);
SSLSocketFactory ssf = new SSLSocketFactory(ctx);
ClientConnectionManager ccm = httpclient.getConnectionManager();
SchemeRegistry sr = ccm.getSchemeRegistry();
sr.register(new Scheme("https", 443, ssf));
// 判断请求时get还是post请求
if (METHOD_GET.equals(method)) {
HttpGet httpget = null;
try {
httpget = new HttpGet(url);
// 判断有没有请求参数
if (params != null && params.size() != 0) {
HttpParams sendParams = httpclient.getParams();
for (Entry<String, Object> entry : params.entrySet()) {
sendParams.setParameter(entry.getKey(), entry.getValue());
}
httpget.setParams(sendParams);
}
// 接受返回信息
HttpResponse response = httpclient.execute(httpget);
HttpEntity entity = response.getEntity();
responseBody = EntityUtils.toString(entity, "UTF-8").trim();
} finally {
if (httpget != null) {
httpget.abort();
}
}
// 接受返回信息
// ResponseHandler responseHandler = new BasicResponseHandler();
// responseBody = httpclient.execute(httpget,
// responseHandler).toString();
} else {
// post请求
HttpPost httpPost = null;
try {
httpPost = new HttpPost(url);
// 判断有没有请求参数
if (params != null && params.size() != 0) {
// 设置参数
List<NameValuePair> list = new ArrayList<NameValuePair>();
for (Entry<String, Object> entry : params.entrySet()) {
list.add(new BasicNameValuePair(entry.getKey(), String.valueOf(entry.getValue())));
}
UrlEncodedFormEntity entity = new UrlEncodedFormEntity(list, CHAR_SET);
httpPost.setEntity(entity);
}
HttpResponse response = httpclient.execute(httpPost);
if (response != null) {
HttpEntity resEntity = response.getEntity();
if (resEntity != null) {
// 接受返回值
responseBody = EntityUtils.toString(resEntity, CHAR_SET);
}
}
} finally {
if (httpPost != null) {
httpPost.abort();
}
}
}
} catch (SocketTimeoutException e) {
e.printStackTrace();
log.error("HttpClientUtils:网络连接超时" + e.getMessage());
throw new ErrorException(ReturnCode.TIME_OUT, "网络连接超时!");
} catch (ClientProtocolException e) {
e.printStackTrace();
log.error("HttpClientUtils:网络出现异常" + e.getMessage());
throw new ErrorException(ReturnCode.TIME_OUT, "网络出现异常!");
} catch (IOException e) {
e.printStackTrace();
log.error("HttpClientUtils:网络出现异常" + e.getMessage());
throw new ErrorException(ReturnCode.TIME_OUT, "网络出现异常!");
} catch (Exception e) {
e.printStackTrace();
log.error("HttpClientUtils:未知异常" + e.getMessage());
throw new ErrorException(ReturnCode.SYSTEM_EXCEPTION, "");
} finally {
httpclient.getConnectionManager().shutdown();
}
return responseBody;
}
public static void main(String[] args) {
HttpUtil hu = new HttpUtil();
try {
String i = hu.sendHttp("http://localhost:8080/mobileCore.m", "{\"head\":{\"functionNo\":\"100001\"},\"body\":{\"userName\":\"wangxf\",\"password\":\"1234567\"}}");
System.out.println(i);
} catch (ErrorException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
/**
* httpPost
* @param url 路径
* @param jsonParam 参数
* @return
*/
public static JSONObject httpPost(String url, JSONObject jsonParam){
return httpPost(url, jsonParam, false);
}
/**
* post请求
* @param url url地址
* @param jsonParam 参数
* @param noNeedResponse 不需要返回结果
* @return
*/
public static JSONObject httpPost(String url,JSONObject jsonParam, boolean noNeedResponse){
//post请求返回结果
DefaultHttpClient httpClient = new DefaultHttpClient();
JSONObject jsonResult = null;
HttpPost method = new HttpPost(url);
try {
if (null != jsonParam) {
//解决中文乱码问题
StringEntity entity = new StringEntity(jsonParam.toString(), "utf-8");
entity.setContentEncoding("UTF-8");
entity.setContentType("application/json");
method.setEntity(entity);
}
HttpResponse result = httpClient.execute(method);
url = URLDecoder.decode(url, "UTF-8");
/**请求发送成功,并得到响应**/
if (result.getStatusLine().getStatusCode() == 200) {
String str = "";
try {
/**读取服务器返回过来的json字符串数据**/
str = EntityUtils.toString(result.getEntity());
if (noNeedResponse) {
return null;
}
/**把json字符串转换成json对象**/
jsonResult = JSONObject.fromObject(str);
} catch (Exception e) {
log.error("post请求提交失败:" + url, e);
}
}
} catch (IOException e) {
log.error("post请求提交失败:" + url, e);
}
return jsonResult;
}
/**
*
* @param url
* @param param
* @param files
* @return
*/
public static JSONObject httpPost(String url,Map<String,String[]> param,MultipartFile[] files){
return httpPost(url, param,files, false);
}
/**
* post请求
* @param url url地址
* @param param 参数
* @param noNeedResponse 不需要返回结果
* @return
*/
public static JSONObject httpPost(String url,Map<String,String[]> param,MultipartFile[] files,boolean noNeedResponse){
Charset chars = Charset.forName("UTF-8");
//post请求返回结果
DefaultHttpClient httpClient = new DefaultHttpClient();
JSONObject jsonResult = null;
HttpPost method = new HttpPost(url);
try {
HttpMultipartMode mode;
MultipartEntity reqEntity = new MultipartEntity(HttpMultipartMode.BROWSER_COMPATIBLE,
null, chars);
//处理参数
if(null != param){
for (Entry<String,String[]> entry : param.entrySet()){
if(null != entry){
String[] values = entry.getValue();
for(String value : values){
if(null != value){
reqEntity.addPart(entry.getKey(),new StringBody(value,chars));
}
}
}
}
}
//处理文件
for (int i=0; i<files.length;i++) {
MultipartFile file = files[i];
String fileName = file.getOriginalFilename();
ContentBody fileBody = new InputStreamBody(file.getInputStream(), ContentType.create("application/octet-stream",chars),fileName);
reqEntity.addPart("file", fileBody);
reqEntity.addPart("fileName",new StringBody(fileName,chars));
method.setEntity(reqEntity);
}
url = URLDecoder.decode(url, "UTF-8");
method.setEntity(reqEntity);
HttpResponse result = httpClient.execute(method);
/**请求发送成功,并得到响应**/
if (result.getStatusLine().getStatusCode() == 200) {
String str = "";
try {
/**读取服务器返回过来的json字符串数据**/
str = EntityUtils.toString(result.getEntity());
if (noNeedResponse) {
return null;
}
/**把json字符串转换成json对象**/
jsonResult = JSONObject.fromObject(str);
} catch (Exception e) {
log.error("post请求提交失败:" + url, e);
}
}
} catch (IOException e) {
log.error("post请求提交失败:" + url, e);
}
return jsonResult;
}
/**
* 发送get请求
* @param url 路径
* @return
*/
public static JSONObject httpGet(String url){
//get请求返回结果
JSONObject jsonResult = null;
try {
DefaultHttpClient client = new DefaultHttpClient();
//发送get请求
HttpGet request = new HttpGet(url);
HttpResponse response = client.execute(request);
/**请求发送成功,并得到响应**/
if (response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
/**读取服务器返回过来的json字符串数据**/
String strResult = EntityUtils.toString(response.getEntity());
/**把json字符串转换成json对象**/
jsonResult = JSONObject.fromObject(strResult);
url = URLDecoder.decode(url, "UTF-8");
} else {
log.error("get请求提交失败:" + url);
}
} catch (IOException e) {
log.error("get请求提交失败:" + url, e);
}
return jsonResult;
}
/**
* 发送get请求
* @param url 路径
* @return
*/
public static InputStream httpGetFile(String url){
InputStream in = null;
try {
DefaultHttpClient client = new DefaultHttpClient();
//发送get请求
HttpGet request = new HttpGet(url);
HttpResponse response = client.execute(request);
/**请求发送成功,并得到响应**/
if (response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
in = response.getEntity().getContent();
url = URLDecoder.decode(url, "UTF-8");
} else {
log.error("get请求提交失败:" + url);
}
} catch (IOException e) {
log.error("get请求提交失败:" + url, e);
}
return in;
}
/**
* 发送get请求
* @param url 路径
* @return
*/
public static InputStream httpGetFileWithResponse(String url, HttpServletResponse originalResponse){
InputStream in = null;
try {
DefaultHttpClient client = new DefaultHttpClient();
//发送get请求
HttpGet request = new HttpGet(url);
HttpResponse response = client.execute(request);
originalResponse.setContentType("application/x-msdownload");
originalResponse.setHeader("Content-Disposition", response.getFirstHeader("Content-Disposition").getValue());
/**请求发送成功,并得到响应**/
if (response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
in = response.getEntity().getContent();
url = URLDecoder.decode(url, "UTF-8");
} else {
log.error("get请求提交失败:" + url);
}
} catch (IOException e) {
log.error("get请求提交失败:" + url, e);
}
return in;
}
}
|
package com.worker.framework.postgres.mapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
public interface WorkMessageJoinMapper {
@Select("select * from work_message_join_status where id = #{id} for update")
WorkMessageJoinStatus readByIdForUpdate(@Param("id")String id);
@Insert("insert into work_message_join_status (id, pending, released_timestamp) values (#{joinStatus.id}, #{joinStatus.pending}, #{joinStatus.releasedTimestamp, jdbcType=TIMESTAMP})")
void add(@Param("joinStatus")WorkMessageJoinStatus joinStatus);
@Update("update work_message_join_status set pending = #{joinStatus.pending}, released_timestamp = #{joinStatus.releasedTimestamp, jdbcType=TIMESTAMP} where id = #{joinStatus.id}")
void update(@Param("joinStatus")WorkMessageJoinStatus joinStatus);
@Delete("delete from work_message_join_status where id = #{id}")
void removeById(@Param("id")String id);
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.