All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.tooling.MetadataContainerMember Maven / Gradle / Ivy

package com.sforce.soap.tooling;

/**
 * Generated by ComplexTypeCodeGenerator.java. Please do not edit.
 */
public class MetadataContainerMember extends com.sforce.soap.tooling.SObject {

    /**
     * Constructor
     */
    public MetadataContainerMember() {}

    /**
     * element : Content of type {http://www.w3.org/2001/XMLSchema}string
     * java type: java.lang.String
     */
    private static final com.sforce.ws.bind.TypeInfo Content__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","Content","http://www.w3.org/2001/XMLSchema","string",0,1,true);

    private boolean Content__is_set = false;

    private java.lang.String Content;

    public java.lang.String getContent() {
      return Content;
    }

    public void setContent(java.lang.String Content) {
      this.Content = Content;
      Content__is_set = true;
    }

    /**
     * element : ContentEntity of type {urn:tooling.soap.sforce.com}Name
     * java type: com.sforce.soap.tooling.Name
     */
    private static final com.sforce.ws.bind.TypeInfo ContentEntity__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","ContentEntity","urn:tooling.soap.sforce.com","Name",0,1,true);

    private boolean ContentEntity__is_set = false;

    private com.sforce.soap.tooling.Name ContentEntity;

    public com.sforce.soap.tooling.Name getContentEntity() {
      return ContentEntity;
    }

    public void setContentEntity(com.sforce.soap.tooling.Name ContentEntity) {
      this.ContentEntity = ContentEntity;
      ContentEntity__is_set = true;
    }

    /**
     * element : ContentEntityId of type {urn:tooling.soap.sforce.com}ID
     * java type: java.lang.String
     */
    private static final com.sforce.ws.bind.TypeInfo ContentEntityId__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","ContentEntityId","urn:tooling.soap.sforce.com","ID",0,1,true);

    private boolean ContentEntityId__is_set = false;

    private java.lang.String ContentEntityId;

    public java.lang.String getContentEntityId() {
      return ContentEntityId;
    }

    public void setContentEntityId(java.lang.String ContentEntityId) {
      this.ContentEntityId = ContentEntityId;
      ContentEntityId__is_set = true;
    }

    /**
     * element : LastSyncDate of type {http://www.w3.org/2001/XMLSchema}dateTime
     * java type: java.util.Calendar
     */
    private static final com.sforce.ws.bind.TypeInfo LastSyncDate__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","LastSyncDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true);

    private boolean LastSyncDate__is_set = false;

    private java.util.Calendar LastSyncDate;

    public java.util.Calendar getLastSyncDate() {
      return LastSyncDate;
    }

    public void setLastSyncDate(java.util.Calendar LastSyncDate) {
      this.LastSyncDate = LastSyncDate;
      LastSyncDate__is_set = true;
    }

    /**
     * element : MetadataContainer of type {urn:tooling.soap.sforce.com}MetadataContainer
     * java type: com.sforce.soap.tooling.MetadataContainer
     */
    private static final com.sforce.ws.bind.TypeInfo MetadataContainer__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","MetadataContainer","urn:tooling.soap.sforce.com","MetadataContainer",0,1,true);

    private boolean MetadataContainer__is_set = false;

    private com.sforce.soap.tooling.MetadataContainer MetadataContainer;

    public com.sforce.soap.tooling.MetadataContainer getMetadataContainer() {
      return MetadataContainer;
    }

    public void setMetadataContainer(com.sforce.soap.tooling.MetadataContainer MetadataContainer) {
      this.MetadataContainer = MetadataContainer;
      MetadataContainer__is_set = true;
    }

    /**
     * element : MetadataContainerId of type {urn:tooling.soap.sforce.com}ID
     * java type: java.lang.String
     */
    private static final com.sforce.ws.bind.TypeInfo MetadataContainerId__typeInfo =
      new com.sforce.ws.bind.TypeInfo("urn:tooling.soap.sforce.com","MetadataContainerId","urn:tooling.soap.sforce.com","ID",0,1,true);

    private boolean MetadataContainerId__is_set = false;

    private java.lang.String MetadataContainerId;

    public java.lang.String getMetadataContainerId() {
      return MetadataContainerId;
    }

    public void setMetadataContainerId(java.lang.String MetadataContainerId) {
      this.MetadataContainerId = MetadataContainerId;
      MetadataContainerId__is_set = true;
    }

    /**
     */
    @Override
    public void write(javax.xml.namespace.QName __element,
        com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
        throws java.io.IOException {
      __out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart());
      __typeMapper.writeXsiType(__out, "urn:tooling.soap.sforce.com", "MetadataContainerMember");
      writeFields(__out, __typeMapper);
      __out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart());
    }

    protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out,
         com.sforce.ws.bind.TypeMapper __typeMapper)
         throws java.io.IOException {
       super.writeFields(__out, __typeMapper);
       __typeMapper.writeString(__out, Content__typeInfo, Content, Content__is_set);
       __typeMapper.writeObject(__out, ContentEntity__typeInfo, ContentEntity, ContentEntity__is_set);
       __typeMapper.writeString(__out, ContentEntityId__typeInfo, ContentEntityId, ContentEntityId__is_set);
       __typeMapper.writeObject(__out, LastSyncDate__typeInfo, LastSyncDate, LastSyncDate__is_set);
       __typeMapper.writeObject(__out, MetadataContainer__typeInfo, MetadataContainer, MetadataContainer__is_set);
       __typeMapper.writeString(__out, MetadataContainerId__typeInfo, MetadataContainerId, MetadataContainerId__is_set);
    }

    @Override
    public void load(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
      __typeMapper.consumeStartTag(__in);
      loadFields(__in, __typeMapper);
      __typeMapper.consumeEndTag(__in);
    }

    protected void loadFields(com.sforce.ws.parser.XmlInputStream __in,
        com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
        super.loadFields(__in, __typeMapper);
        __in.peekTag();
        if (__typeMapper.isElement(__in, Content__typeInfo)) {
            setContent(__typeMapper.readString(__in, Content__typeInfo, java.lang.String.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, ContentEntity__typeInfo)) {
            setContentEntity((com.sforce.soap.tooling.Name)__typeMapper.readObject(__in, ContentEntity__typeInfo, com.sforce.soap.tooling.Name.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, ContentEntityId__typeInfo)) {
            setContentEntityId(__typeMapper.readString(__in, ContentEntityId__typeInfo, java.lang.String.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, LastSyncDate__typeInfo)) {
            setLastSyncDate((java.util.Calendar)__typeMapper.readObject(__in, LastSyncDate__typeInfo, java.util.Calendar.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, MetadataContainer__typeInfo)) {
            setMetadataContainer((com.sforce.soap.tooling.MetadataContainer)__typeMapper.readObject(__in, MetadataContainer__typeInfo, com.sforce.soap.tooling.MetadataContainer.class));
        }
        __in.peekTag();
        if (__typeMapper.isElement(__in, MetadataContainerId__typeInfo)) {
            setMetadataContainerId(__typeMapper.readString(__in, MetadataContainerId__typeInfo, java.lang.String.class));
        }
    }

    @Override
    public String toString() {
      java.lang.StringBuilder sb = new java.lang.StringBuilder();
      sb.append("[MetadataContainerMember ");
      sb.append(super.toString());sb.append(" Content=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(Content)+"'\n");
      sb.append(" ContentEntity=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(ContentEntity)+"'\n");
      sb.append(" ContentEntityId=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(ContentEntityId)+"'\n");
      sb.append(" LastSyncDate=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(LastSyncDate)+"'\n");
      sb.append(" MetadataContainer=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(MetadataContainer)+"'\n");
      sb.append(" MetadataContainerId=");
      sb.append("'"+com.sforce.ws.util.Verbose.toString(MetadataContainerId)+"'\n");
      sb.append("]\n");
      return sb.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy