java类javax.xml.bind.annotation.XmlElementRefs的实例源码

VertecSoapCreate.java 文件源码 项目:jira2vertec-Gateway 阅读 23 收藏 0 点赞 0 评论 0
@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;
}
VertecSoapUpdate.java 文件源码 项目:jira2vertec-Gateway 阅读 23 收藏 0 点赞 0 评论 0
@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;
}
AbstractParameterContainer.java 文件源码 项目:development-tools-incubation 阅读 24 收藏 0 点赞 0 评论 0
/**
 * @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;
}
TextSpanStored.java 文件源码 项目:wlfxb 阅读 24 收藏 0 点赞 0 评论 0
@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;
}
WebResourceImpl.java 文件源码 项目:Tanaguru 阅读 21 收藏 0 点赞 0 评论 0
@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;
}
SiteImpl.java 文件源码 项目:Tanaguru 阅读 26 收藏 0 点赞 0 评论 0
@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;
}
EvidenceImpl.java 文件源码 项目:Tanaguru 阅读 20 收藏 0 点赞 0 评论 0
@Override
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.audit.EvidenceElementImpl.class)})
public Collection<EvidenceElement> getElementList() {
    return (HashSet)elementList;
}
AuditImpl.java 文件源码 项目:Tanaguru 阅读 19 收藏 0 点赞 0 评论 0
@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;
}
AuditImpl.java 文件源码 项目:Tanaguru 阅读 29 收藏 0 点赞 0 评论 0
@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;
}
AuditImpl.java 文件源码 项目:Tanaguru 阅读 22 收藏 0 点赞 0 评论 0
@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;
}
ProcessResultImpl.java 文件源码 项目:Tanaguru 阅读 30 收藏 0 点赞 0 评论 0
@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;
}
ProcessResultImpl.java 文件源码 项目:Tanaguru 阅读 26 收藏 0 点赞 0 评论 0
@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;
    }
ProcessResultImpl.java 文件源码 项目:Tanaguru 阅读 26 收藏 0 点赞 0 评论 0
@Override
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.subject.PageImpl.class),
@XmlElementRef(type = org.tanaguru.entity.subject.SiteImpl.class)})
public WebResource getSubject() {
    return subject;
}
RelatedContentImpl.java 文件源码 项目:Tanaguru 阅读 26 收藏 0 点赞 0 评论 0
@XmlElementWrapper
@XmlElementRefs({
    @XmlElementRef(type = org.tanaguru.entity.audit.SSPImpl.class)})
@XmlTransient
@Override
public Set<Content> getParentContentSet() {
    return (Set)parentContentSet;
}
NomenclatureImpl.java 文件源码 项目:Tanaguru 阅读 27 收藏 0 点赞 0 评论 0
@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;
}
XmlElementRefsQuick.java 文件源码 项目:OpenJSharp 阅读 21 收藏 0 点赞 0 评论 0
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
XmlElementRefsQuick.java 文件源码 项目:OpenJSharp 阅读 24 收藏 0 点赞 0 评论 0
protected Quick newInstance(Locatable upstream, Annotation core) {
    return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
}
XmlElementRefsQuick.java 文件源码 项目:OpenJSharp 阅读 21 收藏 0 点赞 0 评论 0
public Class<XmlElementRefs> annotationType() {
    return XmlElementRefs.class;
}
XmlElementRefsQuick.java 文件源码 项目:openjdk-jdk10 阅读 24 收藏 0 点赞 0 评论 0
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
XmlElementRefsQuick.java 文件源码 项目:openjdk-jdk10 阅读 27 收藏 0 点赞 0 评论 0
protected Quick newInstance(Locatable upstream, Annotation core) {
    return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
}
XmlElementRefsQuick.java 文件源码 项目:openjdk-jdk10 阅读 29 收藏 0 点赞 0 评论 0
public Class<XmlElementRefs> annotationType() {
    return XmlElementRefs.class;
}
XmlElementRefsQuick.java 文件源码 项目:openjdk9 阅读 30 收藏 0 点赞 0 评论 0
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
XmlElementRefsQuick.java 文件源码 项目:openjdk9 阅读 26 收藏 0 点赞 0 评论 0
protected Quick newInstance(Locatable upstream, Annotation core) {
    return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
}
XmlElementRefsQuick.java 文件源码 项目:openjdk9 阅读 23 收藏 0 点赞 0 评论 0
public Class<XmlElementRefs> annotationType() {
    return XmlElementRefs.class;
}
Plugins.java 文件源码 项目:JAADAS 阅读 27 收藏 0 点赞 0 评论 0
@XmlElementRefs({@XmlElementRef(name="phase-plugin", type=PhasePluginDescription.class)})
   public List<PluginDescription> getPluginDescriptions() {
    return pluginDescriptions;
}
XmlElementRefsQuick.java 文件源码 项目:lookaside_java-1.8.0-openjdk 阅读 22 收藏 0 点赞 0 评论 0
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
XmlElementRefsQuick.java 文件源码 项目:lookaside_java-1.8.0-openjdk 阅读 22 收藏 0 点赞 0 评论 0
protected Quick newInstance(Locatable upstream, Annotation core) {
    return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
}
XmlElementRefsQuick.java 文件源码 项目:lookaside_java-1.8.0-openjdk 阅读 25 收藏 0 点赞 0 评论 0
public Class<XmlElementRefs> annotationType() {
    return XmlElementRefs.class;
}
XmlElementRefsQuick.java 文件源码 项目:infobip-open-jdk-8 阅读 26 收藏 0 点赞 0 评论 0
public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
    super(upstream);
    this.core = core;
}
XmlElementRefsQuick.java 文件源码 项目:infobip-open-jdk-8 阅读 24 收藏 0 点赞 0 评论 0
protected Quick newInstance(Locatable upstream, Annotation core) {
    return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
}


问题


面经


文章

微信
公众号

扫码关注公众号