当前位置: 首页>>代码示例>>Java>>正文


Java XmlElementRefs类代码示例

本文整理汇总了Java中javax.xml.bind.annotation.XmlElementRefs的典型用法代码示例。如果您正苦于以下问题:Java XmlElementRefs类的具体用法?Java XmlElementRefs怎么用?Java XmlElementRefs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


XmlElementRefs类属于javax.xml.bind.annotation包,在下文中一共展示了XmlElementRefs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setItem

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@XmlElementRefs({
        @XmlElementRef(name = "OffeneLeistung", type = VertecOffeneLeistung.class),
        @XmlElementRef(name = "VerrechneteLeistung", type = VertecVerrechneteLeistung.class),
        @XmlElementRef(name = "ProjektBearbeiter", type = VertecProjektBearbeiter.class),
        @XmlElementRef(name = "Projekt", type = VertecProject.class),
        @XmlElementRef(name = "ProjektPhase", type = VertecPhase.class)})
@XmlAnyElement
public void setItem(T item)
{
    this.item = item;
}
 
开发者ID:garaio,项目名称:jira2vertec-Gateway,代码行数:12,代码来源:VertecSoapCreate.java

示例2: getChildrenModel

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
/**
 * @return The children as an ArrayListModel.
 */
//@XmlMixed
@XmlElementWrapper(name = "childs")
@XmlElementRefs({
   @XmlElementRef(name = "parameter", type = Parameter.class),
   @XmlElementRef(name = "communication_object", type = CommunicationObject.class)
})
public ArrayListModel<AbstractParameterNode> getChildrenModel()
{
   return childs;
}
 
开发者ID:selfbus,项目名称:development-tools-incubation,代码行数:14,代码来源:AbstractParameterContainer.java

示例3: getContent

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@XmlMixed
@XmlElementRefs({
@XmlElementRef(name = TextSpanStored.XML_NAME, type = TextSpanStored.class)})
protected List<Object> getContent() {
    List<Object> contentToMarshal = new ArrayList<Object>();
    if (subspans != null) {
        contentToMarshal.addAll(subspans);
    } else if (value != null) {
        contentToMarshal.add(value);
    } else {
        return null;
    }
    return contentToMarshal;
}
 
开发者ID:weblicht,项目名称:wlfxb,代码行数:15,代码来源:TextSpanStored.java

示例4: getProcessResultList

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@Override
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.audit.IndefiniteResultImpl.class),
    @XmlElementRef(type = org.tanaguru.entity.audit.DefiniteResultImpl.class)})
@JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.WRAPPER_OBJECT)
@JsonSubTypes({
    @JsonSubTypes.Type(value=org.tanaguru.entity.audit.IndefiniteResultImpl.class, name="Indefinite"),
    @JsonSubTypes.Type(value=org.tanaguru.entity.audit.DefiniteResultImpl.class, name="Definite")})
public Collection<ProcessResult> getProcessResultList() {
    return (Collection)processResultSet;
}
 
开发者ID:Tanaguru,项目名称:Tanaguru,代码行数:13,代码来源:WebResourceImpl.java

示例5: getComponentList

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.subject.SiteImpl.class),
    @XmlElementRef(type = org.tanaguru.entity.subject.PageImpl.class)})
@Override
public Collection<WebResource> getComponentList() {
    // Bug #540 correction
    return (Collection) componentList;
}
 
开发者ID:Tanaguru,项目名称:Tanaguru,代码行数:10,代码来源:SiteImpl.java

示例6: getElementList

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@Override
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.audit.EvidenceElementImpl.class)})
public Collection<EvidenceElement> getElementList() {
    return (HashSet)elementList;
}
 
开发者ID:Tanaguru,项目名称:Tanaguru,代码行数:8,代码来源:EvidenceImpl.java

示例7: getContentList

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@Override
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.audit.SSPImpl.class),
    @XmlElementRef(type = org.tanaguru.entity.audit.JavascriptContentImpl.class),
    @XmlElementRef(type = org.tanaguru.entity.audit.StylesheetContentImpl.class)})
public Collection<Content> getContentList() {
    return (Collection)contentList;
}
 
开发者ID:Tanaguru,项目名称:Tanaguru,代码行数:10,代码来源:AuditImpl.java

示例8: getGrossResultList

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@Override
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.audit.IndefiniteResultImpl.class),
    @XmlElementRef(type = org.tanaguru.entity.audit.DefiniteResultImpl.class)})
public Collection<ProcessResult> getGrossResultList() {
    return (Collection)grossResultList;
}
 
开发者ID:Tanaguru,项目名称:Tanaguru,代码行数:9,代码来源:AuditImpl.java

示例9: getSubject

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@Override
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.subject.PageImpl.class),
    @XmlElementRef(type = org.tanaguru.entity.subject.SiteImpl.class)})
@JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=As.WRAPPER_OBJECT)
@JsonSubTypes({
    @JsonSubTypes.Type(value=org.tanaguru.entity.subject.PageImpl.class, name="Page"),
    @JsonSubTypes.Type(value=org.tanaguru.entity.subject.SiteImpl.class, name="Site")})
public WebResourceImpl getSubject() {
    return subject;
}
 
开发者ID:Tanaguru,项目名称:Tanaguru,代码行数:12,代码来源:AuditImpl.java

示例10: getChildResultList

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@Override
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.audit.DefiniteResultImpl.class),
    @XmlElementRef(type = org.tanaguru.entity.audit.IndefiniteResultImpl.class)})
@JsonIgnore
public Collection<ProcessResult> getChildResultList() {
    return (Collection)childResultSet;
}
 
开发者ID:Tanaguru,项目名称:Tanaguru,代码行数:10,代码来源:ProcessResultImpl.java

示例11: getRemarkSet

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@Override
    @XmlElementWrapper
    @XmlElementRefs({
        @XmlElementRef(type = org.tanaguru.entity.audit.ProcessRemarkImpl.class),
        @XmlElementRef(type = org.tanaguru.entity.audit.SourceCodeRemarkImpl.class)})
    @JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.WRAPPER_OBJECT)
    @JsonSubTypes({
        @JsonSubTypes.Type(value=org.tanaguru.entity.audit.ProcessRemarkImpl.class, name="ProcessRemark"), 
        @JsonSubTypes.Type(value=org.tanaguru.entity.audit.SourceCodeRemarkImpl.class, name="SourceCodeRemark")})
//    @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED)
    public Collection<ProcessRemark> getRemarkSet() {
        return (Collection)remarkSet;
    }
 
开发者ID:Tanaguru,项目名称:Tanaguru,代码行数:14,代码来源:ProcessResultImpl.java

示例12: getSubject

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@Override
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.subject.PageImpl.class),
@XmlElementRef(type = org.tanaguru.entity.subject.SiteImpl.class)})
public WebResource getSubject() {
    return subject;
}
 
开发者ID:Tanaguru,项目名称:Tanaguru,代码行数:8,代码来源:ProcessResultImpl.java

示例13: getParentContentSet

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.audit.SSPImpl.class)})
@XmlTransient
@Override
public Set<Content> getParentContentSet() {
    return (Set)parentContentSet;
}
 
开发者ID:Tanaguru,项目名称:Tanaguru,代码行数:9,代码来源:RelatedContentImpl.java

示例14: getElementList

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.reference.NomenclatureElementImpl.class),
    @XmlElementRef(type = org.tanaguru.entity.reference.NomenclatureCssUnitImpl.class)})
@Override
public Collection<NomenclatureElement> getElementList() {
    return (Collection)elementList;
}
 
开发者ID:Tanaguru,项目名称:Tanaguru,代码行数:9,代码来源:NomenclatureImpl.java

示例15: XmlElementRefsQuick

import javax.xml.bind.annotation.XmlElementRefs; //导入依赖的package包/类
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:XmlElementRefsQuick.java


注:本文中的javax.xml.bind.annotation.XmlElementRefs类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。