Revision 8452 trunk/libraries/libRemoteServices/src/org/gvsig/remoteClient/gml/schemas/XMLElement.java

View differences:

XMLElement.java
53 53
 *
54 54
 * $Id$
55 55
 * $Log$
56
 * Revision 1.4  2006-10-31 12:24:33  jorpiell
56
 * Revision 1.5  2006-10-31 13:52:37  ppiqueras
57
 * Mejoras para uso de features complejas
58
 *
59
 * Revision 1.4  2006/10/31 12:24:33  jorpiell
57 60
 * En caso de que el elemento forme parte de un tipo complejo tiene que tener un enlace al tipo del objeto padre
58 61
 *
59 62
 * Revision 1.3  2006/10/10 12:52:28  jorpiell
......
82 85
	private int totalDigits = 0;
83 86
	private int fractionDigits = 0;	
84 87
	//Only used if is a part of a complex type
85
	private XMLComplexType parentType = null;
88
	private XMLElement parentElement = null;
86 89
	
87 90
	public XMLElement(XMLSchemaParser parser) throws XmlPullParserException, IOException {
88 91
		super();	
......
327 330
	/**
328 331
	 * @return Returns the parentType.
329 332
	 */
330
	public XMLComplexType getParentType() {
331
		return parentType;
333
	public XMLElement getParentElement() {
334
		return parentElement;
332 335
	}
333 336

  
334 337
	/**
335 338
	 * @param parent The parentTypeparentType to set.
336 339
	 */
337
	public void setParentType(XMLComplexType parentType) {
338
		this.parentType = parentType;
340
	public void setParentElement(XMLElement parentElement) {
341
		this.parentElement = parentElement;
339 342
	}		
340 343
	
341 344

  

Also available in: Unified diff