Beispiel #1
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;
 }
Beispiel #2
0
 @Override
 public int compareTo(Part other) {
   if (getDocCode() != null && other != null) {
     return getDocCode().compareTo(other.getDocCode());
   }
   return 0;
 }