public class

PackageMetaInfo

extends Object
java.lang.Object
   ↳ com.carto.packagemanager.PackageMetaInfo

Class Overview

Package meta info element. Can contain JSON-style structured data, including objects and arrays.

Summary

Public Constructors
PackageMetaInfo(Variant var)
Constructs a new PackageMetaInfo object from existing JSON value.
Public Methods
synchronized void delete()
boolean equals(Object obj)
Checks if this object is equal to the specified object.
Variant getVariant()
Returns the underlying variant.
int hashCode()
Returns the hash value of this object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PackageMetaInfo (Variant var)

Constructs a new PackageMetaInfo object from existing JSON value.

Parameters
var The variant to use.

Public Methods

public synchronized void delete ()

public boolean equals (Object obj)

Checks if this object is equal to the specified object.

Parameters
obj The reference object.
Returns
  • True when objects are equal, false otherwise.

public Variant getVariant ()

Returns the underlying variant.

Returns
  • The value of the metainfo.

public int hashCode ()

Returns the hash value of this object.

Returns
  • The hash value of this object.