public void updateProperties(DataElement dataElement){
  this.dataElementId=dataElement.getUid();
  this.operandId=String.valueOf(dataElementId);
  this.operandName=getPrettyName(dataElement,null);
  this.legendSet=dataElement.getLegendSet();
  this.aggregationType=dataElement.getAggregationType();
  this.valueType=dataElement.getValueType();
  this.frequencyOrder=dataElement.getFrequencyOrder();
  this.aggregationLevels=new ArrayList<>(dataElement.getAggregationLevels());
  this.uid=dataElementId;
  this.name=getPrettyName(dataElement,null);
}

public void updateProperties ( DataElement dataElement ) { this . dataElementId = dataElement . getUid ( ) ; this . operandId = String . valueOf ( dataElementId ) ; this . operandName = getPrettyName ( dataElement , null ) ; this . legendSet = dataElement . getLegendSet ( ) ; this . aggregationType = dataElement . getAggregationType ( ) ; this . valueType = dataElement . getValueType ( ) ; this . frequencyOrder = dataElement . getFrequencyOrder ( ) ; this . aggregationLevels = new ArrayList < > ( dataElement . getAggregationLevels ( ) ) ; this . uid = dataElementId ; this . name = getPrettyName ( dataElement , null ) ; }
updates all transient properties .
