org.apache.maven.settings
Class IdentifiableBase
java.lang.Object
org.apache.maven.settings.TrackableBase
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentifiableBase
public IdentifiableBase()
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.