com.sap.netweaver.bc.rf.common.content

Class ContentMetadata

java.lang.Object
  extended bycom.sap.netweaver.bc.rf.common.content.ContentMetadata
All Implemented Interfaces:
IContentMetadata

public class ContentMetadata
extends Object
implements IContentMetadata

Interface describing the content metadata of the content a resource may provide.


Constructor Summary
ContentMetadata(IContentMetadata orgContentMetadata, long contentLength)
          Construct object of class ContentMetadata.
ContentMetadata(IContentMetadata orgContentMetadata, long contentLength, String eTag, Date lastModified)
          Construct object of class ContentMetadata.
ContentMetadata(IContentMetadata orgContentMetadata, String eTag)
          Construct object of class ContentMetadata.
ContentMetadata(IContentMetadata orgContentMetadata, String eTag, Date lastModified)
          Construct object of class ContentMetadata.
ContentMetadata(long contentLength, String contentType, String contentEncoding, String contentLanguage, String eTag, Date expires, Date lastModified)
          Construct object of class ContentMetadata.
 
Method Summary
 String getContentEncoding()
          Get the encoding attribute of the ContentMetadata object.
 String getContentLanguage()
          Get the language attribute of the ContentMetadata object.
 long getContentLength()
          Get the contentLength attribute of the ContentMetadata object.
 String getContentType()
          Get the contentType attribute of the ContentMetadata object.
 String getETag()
          Get the entityTag attribute of the ContentMetadata object.
 Date getExpires()
          Get the expires attribute of the ContentMetadata object.
 Date getLastModified()
          Get the lastModified attribute of the ContentMetadata object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentMetadata

public ContentMetadata(IContentMetadata orgContentMetadata,
                       String eTag)
Construct object of class ContentMetadata.

Parameters:
orgContentMetadata - original content metadata
eTag - entity tag

ContentMetadata

public ContentMetadata(IContentMetadata orgContentMetadata,
                       long contentLength)
Construct object of class ContentMetadata.

Parameters:
orgContentMetadata - original content metadata
contentLength - content length

ContentMetadata

public ContentMetadata(IContentMetadata orgContentMetadata,
                       String eTag,
                       Date lastModified)
Construct object of class ContentMetadata.

Parameters:
orgContentMetadata - original content metadata
eTag - entity tag
lastModified - last modified date

ContentMetadata

public ContentMetadata(IContentMetadata orgContentMetadata,
                       long contentLength,
                       String eTag,
                       Date lastModified)
Construct object of class ContentMetadata.

Parameters:
orgContentMetadata - original content metadata
contentLength - content length
eTag - entity tag
lastModified - last modified date

ContentMetadata

public ContentMetadata(long contentLength,
                       String contentType,
                       String contentEncoding,
                       String contentLanguage,
                       String eTag,
                       Date expires,
                       Date lastModified)
Construct object of class ContentMetadata.

Parameters:
contentLength - content length
contentType - content type
contentEncoding - content encoding
contentLanguage - content language
eTag - entity tag
expires - expires date
lastModified - last modified date
Method Detail

getContentLength

public long getContentLength()
Get the contentLength attribute of the ContentMetadata object.

Specified by:
getContentLength in interface IContentMetadata
Returns:
contentLength value

getContentType

public String getContentType()
Get the contentType attribute of the ContentMetadata object.

Specified by:
getContentType in interface IContentMetadata
Returns:
contentType value

getContentEncoding

public String getContentEncoding()
Get the encoding attribute of the ContentMetadata object.

Specified by:
getContentEncoding in interface IContentMetadata
Returns:
encoding value

getContentLanguage

public String getContentLanguage()
Get the language attribute of the ContentMetadata object.

Specified by:
getContentLanguage in interface IContentMetadata
Returns:
language value

getETag

public String getETag()
Get the entityTag attribute of the ContentMetadata object.

Specified by:
getETag in interface IContentMetadata
Returns:
entityTag value

getExpires

public Date getExpires()
Get the expires attribute of the ContentMetadata object.

Specified by:
getExpires in interface IContentMetadata
Returns:
expires value

getLastModified

public Date getLastModified()
Get the lastModified attribute of the ContentMetadata object.

Specified by:
getLastModified in interface IContentMetadata
Returns:
lastModified value


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.