org.apache.maven.settings
Class IdentifiableBase

java.lang.Object
  extended by org.apache.maven.settings.TrackableBase
      extended by org.apache.maven.settings.IdentifiableBase
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Mirror, Profile, Proxy, Server

public class IdentifiableBase
extends TrackableBase
implements Serializable

Base class for Mirror, Profile, Proxy and Server.

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

Field Summary
 
Fields inherited from class org.apache.maven.settings.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
 
Constructor Summary
IdentifiableBase()
           
 
Method Summary
 String getId()
          Get the id field.
 String getModelEncoding()
           
 void setId(String id)
          Set the id field.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 
Methods inherited from class org.apache.maven.settings.TrackableBase
getSourceLevel, setSourceLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentifiableBase

public IdentifiableBase()
Method Detail

getId

public String getId()
Get the id field.

Returns:
String

setId

public void setId(String id)
Set the id field.

Parameters:
id -

setModelEncoding

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

Overrides:
setModelEncoding in class TrackableBase
Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public String getModelEncoding()
Overrides:
getModelEncoding in class TrackableBase
Returns:
the current encoding used when reading/writing this model.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.