public CompositeRepositoryState toState() { CompositeRepositoryState result = new CompositeRepositoryState(); result.setName(getName()); result.setType(getType()); result.setVersion(getVersion()); result.setLocation(getLocation()); result.setDescription(getDescription()); result.setProvider(getProvider()); result.setProperties(getProperties()); // it is important to directly access the field so we have the relative URIs result.setChildren(childrenURIs.toArray(new URI[childrenURIs.size()])); return result; }
public CompositeRepositoryState toState() { CompositeRepositoryState result = new CompositeRepositoryState(); result.setName(getName()); result.setType(getType()); result.setVersion(getVersion()); result.setLocation(getLocation()); result.setDescription(getDescription()); result.setProvider(getProvider()); result.setProperties(getProperties()); // it is important to directly access the field so we have the relative URIs result.setChildren(childrenURIs.toArray(new URI[childrenURIs.size()])); return result; }
public CompositeRepositoryState toState() { CompositeRepositoryState result = new CompositeRepositoryState(); result.setName(getName()); result.setType(getType()); result.setVersion(getVersion()); result.setLocation(getLocation()); result.setDescription(getDescription()); result.setProvider(getProvider()); result.setProperties(getProperties()); // it is important to directly access the field so we have the relative URIs result.setChildren(childrenURIs.toArray(new URI[childrenURIs.size()])); return result; }
public CompositeRepositoryState toState() { CompositeRepositoryState result = new CompositeRepositoryState(); result.setName(getName()); result.setType(getType()); result.setVersion(getVersion()); result.setLocation(getLocation()); result.setDescription(getDescription()); result.setProvider(getProvider()); result.setProperties(getProperties()); // it is important to directly access the field so we have the relative URIs result.setChildren(childrenURIs.toArray(new URI[childrenURIs.size()])); return result; }
public CompositeRepositoryState toState() { CompositeRepositoryState result = new CompositeRepositoryState(); result.setName(getName()); result.setType(getType()); result.setVersion(getVersion()); result.setLocation(getLocation()); result.setDescription(getDescription()); result.setProvider(getProvider()); result.setProperties(getProperties()); // it is important to directly access the field so we have the relative URIs result.setChildren(childrenURIs.toArray(new URI[childrenURIs.size()])); return result; }
public CompositeRepositoryState toState() { CompositeRepositoryState result = new CompositeRepositoryState(); result.setName(getName()); result.setType(getType()); result.setVersion(getVersion()); result.setLocation(getLocation()); result.setDescription(getDescription()); result.setProvider(getProvider()); result.setProperties(getProperties()); // it is important to directly access the field so we have the relative URIs result.setChildren(childrenURIs.toArray(new URI[childrenURIs.size()])); return result; }
public CompositeRepositoryState toState() { CompositeRepositoryState result = new CompositeRepositoryState(); result.setName(getName()); result.setType(getType()); result.setVersion(getVersion()); result.setLocation(getLocation()); result.setDescription(getDescription()); result.setProvider(getProvider()); result.setProperties(getProperties()); // it is important to directly access the field so we have the relative URIs result.setChildren(childrenURIs.toArray(new URI[childrenURIs.size()])); return result; }
protected void finished() { if (isValidXML()) { state = new CompositeRepositoryState(); state.setName(attrValues[0]); state.setType(attrValues[1]); state.setVersion(attrValues[2]); state.setDescription(attrValues[3]); state.setProvider(attrValues[4]); state.setProperties((propertiesHandler == null ? new OrderedProperties(0) // : propertiesHandler.getProperties())); state.setChildren((childrenHandler == null ? new URI[0] // : childrenHandler.getChildren())); } } }
protected void finished() { if (isValidXML()) { state = new CompositeRepositoryState(); state.setName(attrValues[0]); state.setType(attrValues[1]); state.setVersion(attrValues[2]); state.setDescription(attrValues[3]); state.setProvider(attrValues[4]); state.setProperties((propertiesHandler == null ? new OrderedProperties(0) // : propertiesHandler.getProperties())); state.setChildren((childrenHandler == null ? new URI[0] // : childrenHandler.getChildren())); } } }