org.apache.maven.mercury.repository.cache.md
Class CachedRawMetadata

java.lang.Object
  extended by org.apache.maven.mercury.repository.cache.md.CachedRawMetadata
All Implemented Interfaces:
java.io.Serializable

public class CachedRawMetadata
extends java.lang.Object
implements java.io.Serializable

Class CachedRawMetadata.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
CachedRawMetadata()
           
 
Method Summary
 void addElement(Element element)
          Method addElement.
 java.util.List getElements()
          Method getElements.
 java.lang.String getLastUpdated()
          Get when the metadata was last updated.
 java.lang.String getModelEncoding()
           
 void removeElement(Element element)
          Method removeElement.
 void setElements(java.util.List elements)
          Set group of metadata elements.
 void setLastUpdated(java.lang.String lastUpdated)
          Set when the metadata was last updated.
 void setModelEncoding(java.lang.String modelEncoding)
          Set an encoding used for reading/writing the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedRawMetadata

public CachedRawMetadata()
Method Detail

addElement

public void addElement(Element element)
Method addElement.

Parameters:
element -

getElements

public java.util.List getElements()
Method getElements.

Returns:
java.util.List

getLastUpdated

public java.lang.String getLastUpdated()
Get when the metadata was last updated.

Returns:
String

removeElement

public void removeElement(Element element)
Method removeElement.

Parameters:
element -

setElements

public void setElements(java.util.List elements)
Set group of metadata elements.

Parameters:
elements -

setLastUpdated

public void setLastUpdated(java.lang.String lastUpdated)
Set when the metadata was last updated.

Parameters:
lastUpdated -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public java.lang.String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.