public void addAll(SpatialOperator copy) { if (copy == null) return; if (copy.getGeometryOperands() != null) { for (GeometryOperand operand : copy.getGeometryOperands()) { this.geometryOperands.add(operand); } } } }
public SpatialOperatorImpl(SpatialOperator copy) { this(copy.getName()); this.geometryOperands = new HashSet<GeometryOperand>(); if (copy.getGeometryOperands() != null) { this.geometryOperands.addAll(copy.getGeometryOperands()); } }
public Object getProperty(Object object, QName name) throws Exception { SpatialOperator sop = (SpatialOperator) object; if ("GeometryOperands".equals(name.getLocalPart())) { return sop.getGeometryOperands(); } if ("name".equals(name.getLocalPart())) { return sop.getName(); } return null; } }
public void addAll( SpatialOperator copy ){ if( copy == null ) return; if( copy.getGeometryOperands() != null ){ for( GeometryOperand operand : copy.getGeometryOperands() ){ this.geometryOperands.add( operand ); } } } }
public SpatialOperatorImpl( SpatialOperator copy ) { this( copy.getName() ); this.geometryOperands = new HashSet<GeometryOperand>(); if( copy.getGeometryOperands() != null ){ this.geometryOperands.addAll( copy.getGeometryOperands() ); } } public void setGeometryOperands( Collection<GeometryOperand> geometryOperands ) {
public Object getProperty(Object object, QName name) throws Exception { SpatialOperator sop = (SpatialOperator) object; if ("GeometryOperands".equals(name.getLocalPart())) { return sop.getGeometryOperands(); } if ("name".equals(name.getLocalPart())) { return sop.getName(); } return null; } }