Package esendex.sdk.java.model.transfer
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
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
Dto
public Dto()
-
-
Method Details
-
getId
Gets the unique identifier for this entity.- Returns:
- the id
-
getUri
Gets the URI that can be used to obtain more detail.- Returns:
- the URI
-
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
Sets the unique identifier for querying.- Parameters:
id
- the id to query
-
setUri
Sets the uri.- Parameters:
uri
- the new uri
-
setXmlns
-
toString
-