-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #314 from europeana/EA-3643-zoho-country-improve
1) Merge branch 'develop' into EA-3643-zoho-country-improve; 2) improved
- Loading branch information
Showing
13 changed files
with
143 additions
and
192 deletions.
There are no files selected for viewing
54 changes: 0 additions & 54 deletions
54
...-definitions/src/main/java/eu/europeana/entitymanagement/web/xml/model/XmlEdmCountry.java
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
...tions/src/main/java/eu/europeana/entitymanagement/web/xml/model/XmlEdmCountryWrapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package eu.europeana.entitymanagement.web.xml.model; | ||
|
||
import javax.xml.bind.annotation.XmlAccessType; | ||
import javax.xml.bind.annotation.XmlAccessorType; | ||
import javax.xml.bind.annotation.XmlElement; | ||
import eu.europeana.entitymanagement.definitions.model.Place; | ||
|
||
/** | ||
* XML Serialization of the country organization field. | ||
*/ | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
public class XmlEdmCountryWrapper { | ||
|
||
@XmlElement(namespace = XmlConstants.NAMESPACE_EDM, name = XmlConstants.XML_PLACE) | ||
private XmlPlaceImpl place; | ||
|
||
public XmlEdmCountryWrapper(Place place) { | ||
this.place=new XmlPlaceImpl(place); | ||
} | ||
|
||
public XmlEdmCountryWrapper() { | ||
} | ||
|
||
public XmlPlaceImpl getPlace() { | ||
return place; | ||
} | ||
|
||
} |
68 changes: 0 additions & 68 deletions
68
...itions/src/main/java/eu/europeana/entitymanagement/web/xml/model/XmlEdmEuropeanaRole.java
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
...src/main/java/eu/europeana/entitymanagement/web/xml/model/XmlEdmEuropeanaRoleWrapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package eu.europeana.entitymanagement.web.xml.model; | ||
|
||
import javax.xml.bind.annotation.XmlAccessType; | ||
import javax.xml.bind.annotation.XmlAccessorType; | ||
import javax.xml.bind.annotation.XmlElement; | ||
import eu.europeana.entitymanagement.definitions.model.Vocabulary; | ||
|
||
/** | ||
* XML Serialization of the europeanaRole organization field. | ||
*/ | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
public class XmlEdmEuropeanaRoleWrapper { | ||
|
||
@XmlElement(namespace = XmlConstants.NAMESPACE_SKOS, name = XmlConstants.XML_CONCEPT) | ||
private XmlConceptImpl concept; | ||
|
||
public XmlEdmEuropeanaRoleWrapper(Vocabulary vocab) { | ||
this.concept=new XmlConceptImpl(); | ||
this.concept.setAbout(vocab.getId()); | ||
this.concept.setPrefLabel(RdfXmlUtils.convertMapToXmlMultilingualString(vocab.getPrefLabel())); | ||
this.concept.setInScheme(RdfXmlUtils.convertToRdfResource(vocab.getInScheme())); | ||
} | ||
|
||
public XmlEdmEuropeanaRoleWrapper() { | ||
} | ||
|
||
public XmlConceptImpl getConcept() { | ||
return concept; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.