/branches/v3/impl/conf/berserk/sd.xml |
---|
1542,6 → 1542,48 |
</service> |
<service> |
<name>SincronizeCoursesStudiesPlans</name> |
<implementationClass>pt.estgp.estgweb.services.courses.CoursesService</implementationClass> |
<description></description> |
<isTransactional>true</isTransactional> |
<defaultMethod>sincronizeCoursesStudiesPlans</defaultMethod> |
<filterChains> |
<chain name="Logger"/> |
<chain name="Session"/> |
<chain name="Admins"/> |
</filterChains> |
</service> |
<service> |
<name>GetCourseStudiesPlanXml</name> |
<implementationClass>pt.estgp.estgweb.services.courses.CoursesService</implementationClass> |
<description></description> |
<isTransactional>true</isTransactional> |
<defaultMethod>getCourseStudiesPlanXml</defaultMethod> |
<filterChains> |
<chain name="Logger"/> |
</filterChains> |
</service> |
<service> |
<name>GetCourseDetailForJsonApi</name> |
<implementationClass>pt.estgp.estgweb.services.courses.CoursesService</implementationClass> |
<description></description> |
<isTransactional>true</isTransactional> |
<defaultMethod>getCourseDetailForJsonApi</defaultMethod> |
<filterChains> |
<chain name="Logger"/> |
</filterChains> |
</service> |
<service> |
<name>GetActiveCoursesForJsonApi</name> |
<implementationClass>pt.estgp.estgweb.services.courses.CoursesService</implementationClass> |
<description></description> |
<isTransactional>true</isTransactional> |
<defaultMethod>getActiveCoursesForJsonApi</defaultMethod> |
<filterChains> |
<chain name="Logger"/> |
</filterChains> |
</service> |
2853,4 → 2895,7 |
</serviceDefinitions> |
/branches/v3/impl/src/java/pt/estgp/estgweb/services/courses/CoursesService.java |
---|
260,12 → 260,25 |
InputStream stream; |
IRepositoryFile repositoryFile = repositoryService.load(c.getStudiesPlan(),userSession); |
long lastVersion = repositoryService.loadView(c.getStudiesPlan()).getLastVersion().getId(); |
stream = repositoryFile.getInput(); |
//TODO TIRAR |
//JUST FOR DEBUG |
try { |
System.out.println(StreamsUtils.readString(stream)); |
stream.close(); |
} catch (IOException e) { |
e.printStackTrace(); |
} |
repositoryFile = repositoryService.load(c.getStudiesPlan(),userSession); |
stream = repositoryFile.getInput(); |
try { |
JAXBContext jc = JAXBContext.newInstance(Curso.class); |
Unmarshaller unmarshaller = jc.createUnmarshaller(); |
//Just in case lets update SigesCode |
Curso curso = (Curso) unmarshaller.unmarshal(stream); |
curso.setSiges(c.getCode()); |
Marshaller marshaller = jc.createMarshaller(); |
marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); |
281,6 → 294,7 |
} catch (JAXBException e) { |
logger.error(e,e); |
System.out.print("check XML for possible errors for repositoryStream:" + c.getStudiesPlan() + " file version: " + lastVersion); |
throw e; |
} catch (TransformationException e) { |
logger.error(e, e); |
563,9 → 577,26 |
* @return |
* @throws JSONException |
*/ |
public String getCourseStudiesPlanXml(String code) throws JSONException { |
public String getCourseStudiesPlanXml(String code,String renew) throws JSONException { |
Course course = DaoFactory.getCourseDaoImpl().findCourseByCode(code); |
if(renew != null || course.getStudiesPlans() == null || course.getStudiesPlans().size() == 0) |
{ |
logger.info("status JSON NOT EXIST FOR STUDIES PLAN IN THIS COURSE, will generate"); |
UserSession userSession = DomainObjectFactory.createUserSessionImpl(); |
userSession.setUser(DaoFactory.getUserDaoImpl().load(new Long(1))); |
try { |
generateXmlJaxbStudiesPlanVersion(userSession, course, false, null); |
} catch (JAXBException e) { |
logger.error(e,e); |
return "<error>" + e.toString() + ". see log for details</error>"; |
} catch (TransformationException e) { |
logger.error(e, e); |
return "<error>" + e.toString() + ". see log for details</error>"; |
} |
} |
if(course.getStudiesPlans() != null && course.getStudiesPlans().size() > 0) |
{ |
return course.getStudiesPlans().iterator().next().getXml(); |
587,7 → 618,7 |
* @throws JAXBException |
*/ |
public String sincronizeCoursesStudiesPlans(String systemUrl,boolean setActive) throws IOException, JSONException, TransformationException, JAXBException { |
public String sincronizeCoursesStudiesPlans(String systemUrl,boolean setActive,UserSession sess) throws IOException, JSONException, TransformationException, JAXBException { |
StringBuilder log = new StringBuilder(); |
URL url = new URL(systemUrl + "/wsjson/api?service=listCourses"); |
597,27 → 628,35 |
JSONArray courses = obj.getJSONArray("courses"); |
for(int i = 0; i < courses.length();i++) |
{ |
JSONObject course = courses.getJSONObject(i); |
String code = course.getString("code"); |
Course c = DaoFactory.getCourseDaoImpl().findCourseByCode(code); |
if(c == null) |
{ |
String msg = "SKIPING - Course " + code + " " + course.getString("name") + " does not exist in this system"; |
log.append("<info>" + msg+"</info>"); |
logger.info(msg); |
} |
else |
{ |
String msg = "UPDATING - Course " + code + " " + course.getString("name") + " exist in this system"; |
log.append("<info>" + msg+"</info>"); |
logger.info(msg); |
String code = ""; |
try{ |
JSONObject course = courses.getJSONObject(i); |
code = course.getString("code"); |
Course c = DaoFactory.getCourseDaoImpl().findCourseByCode(code); |
if(c == null) |
{ |
String msg = "SKIPING - Course " + code + " " + course.getString("name") + " does not exist in this system"; |
log.append("<info>" + msg+"</info>"); |
logger.info(msg); |
} |
else |
{ |
String msg = "UPDATING - Course " + code + " " + course.getString("name") + " exist in this system"; |
log.append("<info>" + msg+"</info>"); |
logger.info(msg); |
//#############UPDATING STUDIES PLAN |
updateStudiesPlanFromRemoteSystem(systemUrl, setActive, log, course, code, c); |
//#############UPDATING STUDIES PLAN |
updateStudiesPlanFromRemoteSystem(systemUrl, setActive, log, course, code, c); |
//#############UPDATING Course Comission Members |
updateCourseComissionMembers(systemUrl, code, c); |
//#############UPDATING Course Comission Members |
updateCourseComissionMembers(systemUrl, code, c); |
} |
} |
catch(Throwable e) |
{ |
logger.error("UPDATE COURSE: " + i + " code: " + code + " FAILED"); |
logger.error(e,e); |
} |
} |
return log.toString(); |
702,7 → 741,7 |
private void updateStudiesPlanFromRemoteSystem(String systemUrl, boolean setActive, StringBuilder log, JSONObject course, String code, Course c) throws IOException, JSONException, TransformationException, JAXBException { |
String msg; |
InputStream stream = new URL(systemUrl + "/wsjson/api?service=getStudiesPlanXml&code=" + code).openStream(); |
InputStream stream = new URL(systemUrl + "/wsjson/api?service=getStudiesPlanXml&code=" + code + "&renew=true").openStream(); |
String studiesPlan = StreamsUtils.readString(stream); |
int len = studiesPlan.length(); |
if(studiesPlan == null || studiesPlan.trim().length() == 0 || studiesPlan.contains("<error>")) |
736,7 → 775,7 |
stream = new URL(systemUrl + "/wsjson/api?service=getStudiesPlanXml&code=" + code).openStream(); |
UserSession userSession = DomainObjectFactory.createUserSessionImpl(); |
userSession.setUser(DaoFactory.getUserDaoImpl().load(new Long(1))); |
new CoursesService().uploadStudiesPlan(stream, "curso_" + code + ".xml", len,"appication/xml", userSession,c,true,"http://www.estgp.pt"); |
new CoursesService().uploadStudiesPlan(stream, "curso_" + code + ".xml", len,"appication/xml", userSession,c,true,systemUrl); |
} |
} |
/branches/v3/impl/src/java/pt/estgp/estgweb/web/json/JsonHandler.java |
---|
1,15 → 1,16 |
package pt.estgp.estgweb.web.json; |
import com.owlike.genson.TransformationException; |
import jomm.dao.impl.AbstractDao; |
import org.apache.log4j.Logger; |
import org.json.JSONArray; |
import org.json.JSONException; |
import org.json.JSONObject; |
import pt.estgp.estgweb.domain.UserSession; |
import pt.estgp.estgweb.services.courses.CoursesService; |
import pt.estgp.estgweb.services.courses.xsd.Curso; |
import pt.estgp.estgweb.web.UserSessionProxy; |
import pt.estgp.estgweb.web.utils.RequestUtils; |
import pt.utl.ist.berserk.logic.serviceManager.IServiceManager; |
import pt.utl.ist.berserk.logic.serviceManager.ServiceManager; |
import javax.servlet.ServletException; |
import javax.servlet.http.HttpServlet; |
70,11 → 71,16 |
response.getWriter().print(e); |
response.getWriter().print("See log for details:"); |
logger.error(e, e); |
} catch (Throwable throwable) { |
response.getWriter().print(throwable); |
response.getWriter().print("See log for details:"); |
logger.error(throwable, throwable); |
} |
} |
private void processRequest(HttpServletRequest request, HttpServletResponse response) throws IOException, TransformationException, JAXBException, JSONException { |
private void processRequest(HttpServletRequest request, HttpServletResponse response) throws Throwable { |
IServiceManager sm = ServiceManager.getInstance(); |
String service = request.getParameter("service"); |
if(service == null) |
85,29 → 91,23 |
{ |
String school = request.getParameter("school"); |
String type = request.getParameter("type"); |
AbstractDao.getCurrentSession().beginTransaction(); |
JSONObject obj = new CoursesService().getActiveCoursesForJsonApi(school,type); |
AbstractDao.getCurrentSession().getTransaction().commit(); |
JSONObject obj = (JSONObject) sm.execute(RequestUtils.getRequester(request, response), "GetActiveCoursesForJsonApi", new Object[]{school, type}); |
response.getWriter().write(obj.toString()); |
} |
else if(service.equals("getCourse") && request.getParameter("code") != null) |
{ |
String code = request.getParameter("code"); |
AbstractDao.getCurrentSession().beginTransaction(); |
JSONObject obj = new CoursesService().getCourseDetailForJsonApi(code); |
AbstractDao.getCurrentSession().getTransaction().commit(); |
JSONObject obj = (JSONObject) sm.execute(RequestUtils.getRequester(request, response), "GetCourseDetailForJsonApi", new Object[]{code}); |
response.getWriter().write(obj.toString()); |
} |
else if(service.equals("getStudiesPlanXml") && request.getParameter("code") != null) |
{ |
String code = request.getParameter("code"); |
String renew = request.getParameter("renew"); |
response.setContentType("application/xml"); |
response.setCharacterEncoding("UTF-8"); |
AbstractDao.getCurrentSession().beginTransaction(); |
String xml = new CoursesService().getCourseStudiesPlanXml(code); |
response.setCharacterEncoding("UTF-8"); |
String xml = (String) sm.execute(RequestUtils.getRequester(request, response), "GetCourseStudiesPlanXml", new Object[]{code,renew}); |
JAXBContext jc = JAXBContext.newInstance(Curso.class); |
Unmarshaller unmarshaller = jc.createUnmarshaller(); |
Curso curso = (Curso) unmarshaller.unmarshal(new StringReader(xml)); |
115,8 → 115,6 |
marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); |
marshaller.marshal(curso, response.getOutputStream()); |
//SETTING XML in COURSE STUDIES PLAN |
AbstractDao.getCurrentSession().getTransaction().commit(); |
} |
else if(service.equals("syncSystemPlans") && request.getParameter("systemUrl") != null && request.getParameter("setActive") != null) |
{ |
127,9 → 125,7 |
String systemUrl = request.getParameter("systemUrl"); |
boolean setActive = Boolean.parseBoolean(request.getParameter("setActive")); |
response.setContentType("application/xml"); |
AbstractDao.getCurrentSession().beginTransaction(); |
String log = new CoursesService().sincronizeCoursesStudiesPlans(systemUrl,setActive); |
AbstractDao.getCurrentSession().getTransaction().commit(); |
String log = (String) sm.execute(RequestUtils.getRequester(request, response), "SincronizeCoursesStudiesPlans", new Object[]{systemUrl,setActive}); |
response.getWriter().write("<response><status>OK</status><log>" + log + "</log></response>"); |
} |
else |
/branches/v3/impl/src/xsd/planoestudos.xsd |
---|
1,6 → 1,8 |
<?xml version="1.0" encoding="UTF-8"?> |
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Jorge Machado (BN) --> |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.estgp.pt/xsd/planoestudos/1.0/" targetNamespace="http://www.estgp.pt/xsd/planoestudos/1.0/" elementFormDefault="qualified" attributeFormDefault="unqualified"> |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.estgp.pt/xsd/planoestudos/1.0/" |
xmlns:xsl="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.estgp.pt/xsd/planoestudos/1.0/" |
elementFormDefault="qualified" attributeFormDefault="unqualified"> |
<xsd:element name="curso"> |
<xsd:annotation> |
<xsd:documentation/> |
53,7 → 55,6 |
</xsd:element> |
<xsd:complexType name="unidadeType"> |
<xsd:sequence> |
<xsd:element name="siges" type="xsd:string"/> |
<xsd:element name="urlFichaCurricular" type="xsd:string" minOccurs="0" maxOccurs="1"/> |
<xsd:element name="nome" type="xsd:string"/> |
<xsd:element name="dep" type="xsd:string"/> |
77,5 → 78,6 |
<xsd:element name="ECTS" type="xsd:string"/> |
<xsd:element name="obs" type="xsd:string"/> |
</xsd:sequence> |
<xsl:attribute name="siges" type="xsd:string" use="optional"/> |
</xsd:complexType> |
</xsd:schema> |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/courses/xsd/package-info.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.07.28 at 12:03:54 PM WEST |
// Generated on: 2016.07.29 at 04:05:35 PM WEST |
// |
@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.estgp.pt/xsd/planoestudos/1.0/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/courses/xsd/Curso.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.07.28 at 12:03:54 PM WEST |
// Generated on: 2016.07.29 at 04:05:35 PM WEST |
// |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/courses/xsd/UnidadeType.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.07.28 at 12:03:54 PM WEST |
// Generated on: 2016.07.29 at 04:05:35 PM WEST |
// |
10,6 → 10,7 |
import javax.xml.bind.annotation.XmlAccessType; |
import javax.xml.bind.annotation.XmlAccessorType; |
import javax.xml.bind.annotation.XmlAttribute; |
import javax.xml.bind.annotation.XmlElement; |
import javax.xml.bind.annotation.XmlType; |
24,7 → 25,6 |
* <complexContent> |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
* <sequence> |
* <element name="siges" type="{http://www.w3.org/2001/XMLSchema}string"/> |
* <element name="urlFichaCurricular" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
* <element name="nome" type="{http://www.w3.org/2001/XMLSchema}string"/> |
* <element name="dep" type="{http://www.w3.org/2001/XMLSchema}string"/> |
52,6 → 52,7 |
* <element name="ECTS" type="{http://www.w3.org/2001/XMLSchema}string"/> |
* <element name="obs" type="{http://www.w3.org/2001/XMLSchema}string"/> |
* </sequence> |
* <attribute name="siges" type="{http://www.w3.org/2001/XMLSchema}string" /> |
* </restriction> |
* </complexContent> |
* </complexType> |
61,7 → 62,6 |
*/ |
@XmlAccessorType(XmlAccessType.FIELD) |
@XmlType(name = "unidadeType", propOrder = { |
"siges", |
"urlFichaCurricular", |
"nome", |
"dep", |
72,8 → 72,6 |
}) |
public class UnidadeType { |
@XmlElement(required = true) |
protected String siges; |
protected String urlFichaCurricular; |
@XmlElement(required = true) |
protected String nome; |
86,32 → 84,10 |
protected String ects; |
@XmlElement(required = true) |
protected String obs; |
@XmlAttribute |
protected String siges; |
/** |
* Gets the value of the siges property. |
* |
* @return |
* possible object is |
* {@link String } |
* |
*/ |
public String getSiges() { |
return siges; |
} |
/** |
* Sets the value of the siges property. |
* |
* @param value |
* allowed object is |
* {@link String } |
* |
*/ |
public void setSiges(String value) { |
this.siges = value; |
} |
/** |
* Gets the value of the urlFichaCurricular property. |
* |
* @return |
271,8 → 247,32 |
this.obs = value; |
} |
/** |
* Gets the value of the siges property. |
* |
* @return |
* possible object is |
* {@link String } |
* |
*/ |
public String getSiges() { |
return siges; |
} |
/** |
* Sets the value of the siges property. |
* |
* @param value |
* allowed object is |
* {@link String } |
* |
*/ |
public void setSiges(String value) { |
this.siges = value; |
} |
/** |
* <p>Java class for anonymous complex type. |
* |
* <p>The following schema fragment specifies the expected content contained within this class. |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/courses/xsd/ObjectFactory.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.07.28 at 12:03:54 PM WEST |
// Generated on: 2016.07.29 at 04:05:35 PM WEST |
// |
37,35 → 37,35 |
} |
/** |
* Create an instance of {@link Curso } |
* Create an instance of {@link Curso.Semestre.Perfil } |
* |
*/ |
public Curso createCurso() { |
return new Curso(); |
public Curso.Semestre.Perfil createCursoSemestrePerfil() { |
return new Curso.Semestre.Perfil(); |
} |
/** |
* Create an instance of {@link UnidadeType.HorasContacto } |
* Create an instance of {@link UnidadeType } |
* |
*/ |
public UnidadeType.HorasContacto createUnidadeTypeHorasContacto() { |
return new UnidadeType.HorasContacto(); |
public UnidadeType createUnidadeType() { |
return new UnidadeType(); |
} |
/** |
* Create an instance of {@link Curso.Semestre.Perfil } |
* Create an instance of {@link Curso } |
* |
*/ |
public Curso.Semestre.Perfil createCursoSemestrePerfil() { |
return new Curso.Semestre.Perfil(); |
public Curso createCurso() { |
return new Curso(); |
} |
/** |
* Create an instance of {@link UnidadeType } |
* Create an instance of {@link UnidadeType.HorasContacto } |
* |
*/ |
public UnidadeType createUnidadeType() { |
return new UnidadeType(); |
public UnidadeType.HorasContacto createUnidadeTypeHorasContacto() { |
return new UnidadeType.HorasContacto(); |
} |
/** |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/directories/xsd/Directory.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.03.28 at 02:59:42 PM WEST |
// Generated on: 2016.07.29 at 04:04:37 PM WEST |
// |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/directories/xsd/RightsT.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.03.28 at 02:59:42 PM WEST |
// Generated on: 2016.07.29 at 04:04:37 PM WEST |
// |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/directories/xsd/package-info.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.03.28 at 02:59:42 PM WEST |
// Generated on: 2016.07.29 at 04:04:37 PM WEST |
// |
@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.estgp.pt/baco/directory/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/directories/xsd/GroupDeclarationT.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.03.28 at 02:59:42 PM WEST |
// Generated on: 2016.07.29 at 04:04:37 PM WEST |
// |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/directories/xsd/NodeT.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.03.28 at 02:59:42 PM WEST |
// Generated on: 2016.07.29 at 04:04:37 PM WEST |
// |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/directories/xsd/LeafT.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.03.28 at 02:59:42 PM WEST |
// Generated on: 2016.07.29 at 04:04:37 PM WEST |
// |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/directories/xsd/ObjectFactory.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.03.28 at 02:59:42 PM WEST |
// Generated on: 2016.07.29 at 04:04:37 PM WEST |
// |
37,59 → 37,59 |
} |
/** |
* Create an instance of {@link GroupDeclarationT.Group } |
* Create an instance of {@link LeafT } |
* |
*/ |
public GroupDeclarationT.Group createGroupDeclarationTGroup() { |
return new GroupDeclarationT.Group(); |
public LeafT createLeafT() { |
return new LeafT(); |
} |
/** |
* Create an instance of {@link GroupDeclarationT } |
* Create an instance of {@link Directory } |
* |
*/ |
public GroupDeclarationT createGroupDeclarationT() { |
return new GroupDeclarationT(); |
public Directory createDirectory() { |
return new Directory(); |
} |
/** |
* Create an instance of {@link Directory } |
* Create an instance of {@link RightsT } |
* |
*/ |
public Directory createDirectory() { |
return new Directory(); |
public RightsT createRightsT() { |
return new RightsT(); |
} |
/** |
* Create an instance of {@link RightsT.Right } |
* Create an instance of {@link GroupDeclarationT.Group } |
* |
*/ |
public RightsT.Right createRightsTRight() { |
return new RightsT.Right(); |
public GroupDeclarationT.Group createGroupDeclarationTGroup() { |
return new GroupDeclarationT.Group(); |
} |
/** |
* Create an instance of {@link RightsT } |
* Create an instance of {@link GroupDeclarationT } |
* |
*/ |
public RightsT createRightsT() { |
return new RightsT(); |
public GroupDeclarationT createGroupDeclarationT() { |
return new GroupDeclarationT(); |
} |
/** |
* Create an instance of {@link NodeT } |
* Create an instance of {@link RightsT.Right } |
* |
*/ |
public NodeT createNodeT() { |
return new NodeT(); |
public RightsT.Right createRightsTRight() { |
return new RightsT.Right(); |
} |
/** |
* Create an instance of {@link LeafT } |
* Create an instance of {@link NodeT } |
* |
*/ |
public LeafT createLeafT() { |
return new LeafT(); |
public NodeT createNodeT() { |
return new NodeT(); |
} |
} |