Revision 32880 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureType.java

View differences:

DefaultFeatureType.java
19 19
import org.gvsig.tools.dynobject.DynMethod;
20 20
import org.gvsig.tools.dynobject.DynObject;
21 21
import org.gvsig.tools.dynobject.DynObjectValueItem;
22
import org.gvsig.tools.dynobject.DynStruct;
22 23
import org.gvsig.tools.dynobject.exception.DynMethodException;
23 24
import org.gvsig.tools.dynobject.exception.DynObjectValidateException;
24 25

  
......
430 431
	}
431 432

  
432 433
	public String getDescription() {
433
		// TODO Auto-generated method stub
434 434
		return null;
435 435
	}
436 436

  
......
443 443
	}
444 444

  
445 445
	public String getName() {
446
		return Long.toString(serialVersionUID);
446
		return this.id;
447 447
	}
448 448

  
449 449
	public void removeDynField(String name) {
......
466 466

  
467 467
	}
468 468

  
469
	public void extend(String namespace, String dynClassName) {
470
		throw new UnsupportedOperationException();
471

  
472
	}
473

  
469 474
	public DynMethod getDeclaredDynMethod(String name)
470 475
			throws DynMethodException {
471
		// TODO Auto-generated method stub
472 476
		return null;
473 477
	}
474 478

  
475 479
	public DynMethod[] getDeclaredDynMethods() throws DynMethodException {
476
		// TODO Auto-generated method stub
477 480
		return null;
478 481
	}
479 482

  
480 483
	public DynMethod getDynMethod(String name) throws DynMethodException {
481
		// TODO Auto-generated method stub
482 484
		return null;
483 485
	}
484 486

  
485 487
	public DynMethod getDynMethod(int code) throws DynMethodException {
486
		// TODO Auto-generated method stub
487 488
		return null;
488 489
	}
489 490

  
490 491
	public DynMethod[] getDynMethods() throws DynMethodException {
491
		// TODO Auto-generated method stub
492 492
		return null;
493 493
	}
494 494

  
495 495
	public DynClass[] getSuperDynClasses() {
496
		// TODO Auto-generated method stub
497 496
		return null;
498 497
	}
499 498

  
......
539 538
				return;
540 539
			}
541 540
		}
542
		throw new DynObjectValidateException(
543
				"The object is not a Feature or is not this FeatureType",
544
				"NOT_THIS_FEATURE_TYPE", -1);
541
		throw new DynObjectValidateException(this.id);
545 542
	}
546 543

  
547 544
	public DynField addDynFieldLong(String name) {
......
597 594
	public DynField addDynFieldSet(String name) {
598 595
		throw new UnsupportedOperationException();
599 596
	}
597

  
598
	public DynField addDynFieldArray(String name) {
599
		throw new UnsupportedOperationException();
600
	}
601

  
602
	public DynField addDynFieldDate(String name) {
603
		throw new UnsupportedOperationException();
604
	}
605

  
606
	public void extend(DynStruct struct) {
607
		throw new UnsupportedOperationException();
608
	}
609

  
610
	public String getFullName() {
611
		return this.id;
612
	}
613

  
614
	public String getNamespace() {
615
		return "DALFeature";
616
	}
617

  
618
	public DynStruct[] getSuperDynStructs() {
619
		return null;
620
	}
621

  
622
	public void setDescription(String description) {
623
		throw new UnsupportedOperationException();
624
	}
625

  
626
	public void setNamespace(String namespace) {
627
		throw new UnsupportedOperationException();
628
	}
600 629
}

Also available in: Unified diff