Package org.apache.maven.model
Class Parent
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.Parent
- All Implemented Interfaces:
Serializable
,Cloneable
,InputLocationTracker
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.model.BaseObject
BaseObject.ChildrenTracking
-
Field Summary
Fields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
getId()
getLocation
(Object key) Gets the ___location of the specified field in the input source.parentToApiV3
(List<Parent> list) parentToApiV4
(List<Parent> list) protected boolean
void
setArtifactId
(String artifactId) void
setGroupId
(String groupId) void
setLocation
(Object key, InputLocation ___location) Sets the ___location of the specified field.void
setRelativePath
(String relativePath) void
setVersion
(String version) toString()
Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
Parent
public Parent() -
Parent
-
Parent
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegate
in classBaseObject
-
getGroupId
-
setGroupId
-
getArtifactId
-
setArtifactId
-
getVersion
-
setVersion
-
getRelativePath
-
setRelativePath
-
getLocation
Description copied from interface:InputLocationTracker
Gets the ___location of the specified field in the input source.- Parameters:
key
- The key of the field, must not benull
.- Returns:
- The ___location of the field in the input source or
null
if unknown.
-
setLocation
Description copied from interface:InputLocationTracker
Sets the ___location of the specified field.- Parameters:
key
- The key of the field, must not benull
.___location
- The ___location of the field, may benull
.
-
replace
- Overrides:
replace
in classBaseObject
-
parentToApiV4
-
parentToApiV3
-
getId
- Returns:
- the id as
groupId:artifactId:version
-
toString
-