org.apache.maven.settings
Class IdentifiableBase
java.lang.Object
org.apache.maven.settings.TrackableBase
org.apache.maven.settings.IdentifiableBase
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Mirror, Profile, Proxy, Server
public class IdentifiableBase
- extends TrackableBase
- implements java.io.Serializable
Base class for Mirror,
Profile, Proxy and
Server.
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
getId()
Get the id field. |
java.lang.String |
getModelEncoding()
|
void |
setId(java.lang.String id)
Set the id field. |
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 |
IdentifiableBase
public IdentifiableBase()
getId
public java.lang.String getId()
- Get the id field.
- Returns:
- String
setId
public void setId(java.lang.String id)
- Set the id field.
- Parameters:
id -
setModelEncoding
public void setModelEncoding(java.lang.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 java.lang.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.