Package org.machanism.machai.schema
Class Coordinates
java.lang.Object
org.machanism.machai.schema.Coordinates
Coordinates identifying the artifact within the repository.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanName of the artifact within its group (e.g., artifactId in Maven).Optional classifier providing context (e.g., 'sources', 'javadoc').File extension or type (e.g., JAR, WAR, tar.gz, whl).getGroup()Group or namespace of the artifact (e.g., Maven groupId).Version of the artifact.inthashCode()voidsetAdditionalProperty(String name, Object value) voidsetArtifactId(String artifactId) Name of the artifact within its group (e.g., artifactId in Maven).voidsetClassifier(String classifier) Optional classifier providing context (e.g., 'sources', 'javadoc').voidsetExtension(String extension) File extension or type (e.g., JAR, WAR, tar.gz, whl).voidGroup or namespace of the artifact (e.g., Maven groupId).voidsetVersion(String version) Version of the artifact.toString()
-
Constructor Details
-
Coordinates
public Coordinates()
-
-
Method Details
-
getGroup
Group or namespace of the artifact (e.g., Maven groupId). (Required) -
setGroup
Group or namespace of the artifact (e.g., Maven groupId). (Required) -
getArtifactId
Name of the artifact within its group (e.g., artifactId in Maven). (Required) -
setArtifactId
Name of the artifact within its group (e.g., artifactId in Maven). (Required) -
getVersion
Version of the artifact. (Required) -
setVersion
Version of the artifact. (Required) -
getClassifier
Optional classifier providing context (e.g., 'sources', 'javadoc'). -
setClassifier
Optional classifier providing context (e.g., 'sources', 'javadoc'). -
getExtension
File extension or type (e.g., JAR, WAR, tar.gz, whl). -
setExtension
File extension or type (e.g., JAR, WAR, tar.gz, whl). -
getAdditionalProperties
-
setAdditionalProperty
-
toString
-
hashCode
public int hashCode() -
equals
-