javax.xml.bind.annotation.XmlElementRefs Java Examples

The following examples show how to use javax.xml.bind.annotation.XmlElementRefs. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NomenclatureImpl.java    From Asqatasun with GNU Affero General Public License v3.0 5 votes vote down vote up
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.asqatasun.entity.reference.NomenclatureElementImpl.class),
    @XmlElementRef(type = org.asqatasun.entity.reference.NomenclatureCssUnitImpl.class)})
@Override
public Collection<NomenclatureElement> getElementList() {
    return (Collection)elementList;
}
 
Example #2
Source File: WebResourceImpl.java    From Asqatasun with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.asqatasun.entity.audit.IndefiniteResultImpl.class),
    @XmlElementRef(type = org.asqatasun.entity.audit.DefiniteResultImpl.class)})
@JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.WRAPPER_OBJECT)
@JsonSubTypes({
    @JsonSubTypes.Type(value=org.asqatasun.entity.audit.IndefiniteResultImpl.class, name="Indefinite"),
    @JsonSubTypes.Type(value=org.asqatasun.entity.audit.DefiniteResultImpl.class, name="Definite")})
public Collection<ProcessResult> getProcessResultList() {
    return (Collection)processResultSet;
}
 
Example #3
Source File: SiteImpl.java    From Asqatasun with GNU Affero General Public License v3.0 5 votes vote down vote up
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.asqatasun.entity.subject.SiteImpl.class),
    @XmlElementRef(type = org.asqatasun.entity.subject.PageImpl.class)})
@Override
public Collection<WebResource> getComponentList() {
    // Bug #540 correction
    return (Collection) componentList;
}
 
Example #4
Source File: EvidenceImpl.java    From Asqatasun with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.asqatasun.entity.audit.EvidenceElementImpl.class)})
public Collection<EvidenceElement> getElementList() {
    return (HashSet)elementList;
}
 
Example #5
Source File: AuditImpl.java    From Asqatasun with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.asqatasun.entity.audit.SSPImpl.class),
    @XmlElementRef(type = org.asqatasun.entity.audit.JavascriptContentImpl.class),
    @XmlElementRef(type = org.asqatasun.entity.audit.StylesheetContentImpl.class)})
public Collection<Content> getContentList() {
    return (Collection)contentList;
}
 
Example #6
Source File: AuditImpl.java    From Asqatasun with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.asqatasun.entity.audit.IndefiniteResultImpl.class),
    @XmlElementRef(type = org.asqatasun.entity.audit.DefiniteResultImpl.class)})
public Collection<ProcessResult> getGrossResultList() {
    return (Collection)grossResultList;
}
 
Example #7
Source File: AuditImpl.java    From Asqatasun with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
@XmlElementRefs({
    @XmlElementRef(type = org.asqatasun.entity.subject.PageImpl.class),
    @XmlElementRef(type = org.asqatasun.entity.subject.SiteImpl.class)})
@JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=As.WRAPPER_OBJECT)
@JsonSubTypes({
    @JsonSubTypes.Type(value=org.asqatasun.entity.subject.PageImpl.class, name="Page"),
    @JsonSubTypes.Type(value=org.asqatasun.entity.subject.SiteImpl.class, name="Site")})
public WebResourceImpl getSubject() {
    return subject;
}
 
Example #8
Source File: ProcessResultImpl.java    From Asqatasun with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.asqatasun.entity.audit.DefiniteResultImpl.class),
    @XmlElementRef(type = org.asqatasun.entity.audit.IndefiniteResultImpl.class)})
@JsonIgnore
public Collection<ProcessResult> getChildResultList() {
    return (Collection)childResultSet;
}
 
Example #9
Source File: ProcessResultImpl.java    From Asqatasun with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
    @XmlElementWrapper
    @XmlElementRefs({
        @XmlElementRef(type = org.asqatasun.entity.audit.ProcessRemarkImpl.class),
        @XmlElementRef(type = org.asqatasun.entity.audit.SourceCodeRemarkImpl.class)})
    @JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.WRAPPER_OBJECT)
    @JsonSubTypes({
        @JsonSubTypes.Type(value=org.asqatasun.entity.audit.ProcessRemarkImpl.class, name="ProcessRemark"), 
        @JsonSubTypes.Type(value=org.asqatasun.entity.audit.SourceCodeRemarkImpl.class, name="SourceCodeRemark")})
//    @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED)
    public Collection<ProcessRemark> getRemarkSet() {
        return (Collection)remarkSet;
    }
 
Example #10
Source File: ProcessResultImpl.java    From Asqatasun with GNU Affero General Public License v3.0 5 votes vote down vote up
@Override
@XmlElementRefs({
    @XmlElementRef(type = org.asqatasun.entity.subject.PageImpl.class),
@XmlElementRef(type = org.asqatasun.entity.subject.SiteImpl.class)})
public WebResource getSubject() {
    return subject;
}
 
Example #11
Source File: RelatedContentImpl.java    From Asqatasun with GNU Affero General Public License v3.0 5 votes vote down vote up
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.asqatasun.entity.audit.SSPImpl.class)})
@XmlTransient
@Override
public Set<Content> getParentContentSet() {
    return (Set)parentContentSet;
}
 
Example #12
Source File: PreProcessResultImpl.java    From Asqatasun with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
@XmlElementRefs({
    @XmlElementRef(type = org.asqatasun.entity.subject.PageImpl.class)})
public WebResource getSubject() {
    return subject;
}
 
Example #13
Source File: XmlElementRefsQuick.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
 
Example #14
Source File: Plugins.java    From JAADAS with GNU General Public License v3.0 4 votes vote down vote up
@XmlElementRefs({@XmlElementRef(name="phase-plugin", type=PhasePluginDescription.class)})
   public List<PluginDescription> getPluginDescriptions() {
	return pluginDescriptions;
}
 
Example #15
Source File: XmlElementRefsQuick.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public Class<XmlElementRefs> annotationType() {
    return XmlElementRefs.class;
}
 
Example #16
Source File: XmlElementRefsQuick.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected Quick newInstance(Locatable upstream, Annotation core) {
    return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
}
 
Example #17
Source File: XmlElementRefsQuick.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
 
Example #18
Source File: XmlElementRefsQuick.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public Class<XmlElementRefs> annotationType() {
    return XmlElementRefs.class;
}
 
Example #19
Source File: XmlElementRefsQuick.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
protected Quick newInstance(Locatable upstream, Annotation core) {
    return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
}
 
Example #20
Source File: XmlElementRefsQuick.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
 
Example #21
Source File: XmlElementRefsQuick.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
protected Quick newInstance(Locatable upstream, Annotation core) {
    return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
}
 
Example #22
Source File: XmlElementRefsQuick.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public Class<XmlElementRefs> annotationType() {
    return XmlElementRefs.class;
}
 
Example #23
Source File: XmlElementRefsQuick.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
 
Example #24
Source File: XmlElementRefsQuick.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
protected Quick newInstance(Locatable upstream, Annotation core) {
    return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
}
 
Example #25
Source File: XmlElementRefsQuick.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public Class<XmlElementRefs> annotationType() {
    return XmlElementRefs.class;
}
 
Example #26
Source File: XmlElementRefsQuick.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
 
Example #27
Source File: XmlElementRefsQuick.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
protected Quick newInstance(Locatable upstream, Annotation core) {
    return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
}
 
Example #28
Source File: XmlElementRefsQuick.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public Class<XmlElementRefs> annotationType() {
    return XmlElementRefs.class;
}
 
Example #29
Source File: XmlElementRefsQuick.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
 
Example #30
Source File: XmlElementRefsQuick.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
protected Quick newInstance(Locatable upstream, Annotation core) {
    return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
}