Class Dto

java.lang.Object
esendex.sdk.java.model.transfer.Dto
Direct Known Subclasses:
AbstractMessageRequestDto, BatchDto, BodyDto, ContactDto, ContactResponseDto, FailureReasonDto, FromAddressDto, MessageContactDto, MessageResponseDto, MetaDataDto, MetaDataItemDto, OptOutRequestDto, OptOutResponseDto, PageableDto, RecipientDto, RecipientsDto, SessionDto, StandardReportRowDto, TemplateFieldDto, TemplateFieldsDto

public abstract class Dto extends Object
Base xml resource class. This is the superclass for all xml resources. When a Dto is the root xml entity then the xml namespace (xmlns) attribute will be set. Any Dto may have a URI attribute to provide access to a more complete resource
Author:
Mike Whittaker
  • Constructor Details

    • Dto

      public Dto()
  • Method Details

    • getId

      public String getId()
      Gets the unique identifier for this entity.
      Returns:
      the id
    • getUri

      public String getUri()
      Gets the URI that can be used to obtain more detail.
      Returns:
      the URI
    • getXmlns

      public String getXmlns()
      Gets the XML name space of when this is a root entity.
      Returns:
      the xmlns or null if this is not a root entity
    • setId

      public void setId(String id)
      Sets the unique identifier for querying.
      Parameters:
      id - the id to query
    • setUri

      public void setUri(String uri)
      Sets the uri.
      Parameters:
      uri - the new uri
    • setXmlns

      public void setXmlns(String xmlns)
    • toString

      public String toString()
      Overrides:
      toString in class Object