public ExtendedType(int nodetype,String namespace,String localName){
  this.nodetype=nodetype;
  this.namespace=namespace;
  this.localName=localName;
  this.hash=nodetype + namespace.hashCode() + localName.hashCode();
}

public ExtendedType ( int nodetype , String namespace , String localName ) { this . nodetype = nodetype ; this . namespace = namespace ; this . localName = localName ; this . hash = nodetype + namespace . hashCode ( ) + localName . hashCode ( ) ; }
create an extendedtype object from node type , namespace and local name . the hash code is calculated from the node type , namespace and local name .
