public PTProperty addProperty(final PTProperty property){
  if (properties.contains(property)) {
    throw new IllegalArgumentException("A property called '" + property.getName() + "' has already been declared.");
  }
  properties.add(property);
  property.setParentTable(this);
  return property;
}

public PTProperty addProperty ( final PTProperty property ) { if ( properties . contains ( property ) ) { throw new IllegalArgumentException ( "A property called '" + property . getName ( ) + "' has already been declared." ) ; } properties . add ( property ) ; property . setParentTable ( this ) ; return property ; }
add a property in this widget
