Package org.apache.maven.settings
Class IdentifiableBase
- java.lang.Object
-
- org.apache.maven.settings.TrackableBase
-
- org.apache.maven.settings.IdentifiableBase
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class IdentifiableBase extends TrackableBase implements Serializable, Cloneable
Base class forMirror
,Profile
,Proxy
andServer
.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.maven.settings.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
-
-
Constructor Summary
Constructors Constructor Description IdentifiableBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifiableBase
clone()
Method clone.String
getId()
Get item identifier.void
setId(String id)
Set item identifier.-
Methods inherited from class org.apache.maven.settings.TrackableBase
getSourceLevel, setSourceLevel
-
-
-
-
Method Detail
-
clone
public IdentifiableBase clone()
Method clone.- Overrides:
clone
in classTrackableBase
- Returns:
- IdentifiableBase
-
getId
public String getId()
Get item identifier.- Returns:
- String
-
setId
public void setId(String id)
Set item identifier.- Parameters:
id
- a id object.
-
-