Esempio n. 1
0
 /**
  * Read contructor.
  *
  * @param id
  * @param entityId
  * @param categoryId
  * @param ownerId
  * @param currencyId
  * @param issueDate
  * @param docCode
  * @param docName
  * @param docAbstract
  * @param activityState
  * @param docFlag
  * @param docValue
  * @param tokenPrefix
  */
 public Part(
     Integer id,
     Integer entityId,
     Integer categoryId,
     Integer ownerId,
     Integer currencyId,
     Date issueDate,
     String docCode,
     String docName,
     String docAbstract,
     Character activityState,
     Boolean docFlag,
     BigDecimal docValue,
     String tokenPrefix) {
   this(entityId, categoryId, ownerId, currencyId);
   setId(id);
   setIssueDate(issueDate);
   setDocCode(docCode);
   setDocName(docName);
   setDocAbstract(docAbstract);
   setActivityState(activityState);
   setDocFlag(docFlag);
   setDocValue(docValue);
   setTokenPrefix(tokenPrefix);
 }
Esempio n. 2
0
 /**
  * Merger.
  *
  * @param command
  */
 public Part merge(Part command) {
   super.merge(command);
   setParsedContent(command.getParsedContent());
   setActivityState(command.getActivityState());
   setDocValue(command.getDocValue());
   setTokenPrefix(command.getTokenPrefix());
   return this;
 }