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

Class ContentMetadata

java.lang.Object
  extended by com.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
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2012 SAP AG Complete Copyright Notice