public SimpleType(String name,SimpleType inheritsFrom){
  scClassName="SimpleType";
  setName(name);
  inheritsFrom.getOrCreateJsObj();
  setAttribute("inheritsFrom",inheritsFrom.getName(),true);
}

public SimpleType ( String name , SimpleType inheritsFrom ) { scClassName = "SimpleType" ; setName ( name ) ; inheritsFrom . getOrCreateJsObj ( ) ; setAttribute ( "inheritsFrom" , inheritsFrom . getName ( ) , true ) ; }
create a new simple type .
