Package org.apache.rat.api
Class MetaData.Datum
- java.lang.Object
-
- org.apache.rat.api.MetaData.Datum
-
- Enclosing class:
- MetaData
public static final class MetaData.Datum extends java.lang.ObjectA datum.
-
-
Constructor Summary
Constructors Constructor Description Datum(java.lang.String name, java.lang.String value)Constructs a datum.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Gets the name of the data type.java.lang.StringgetValue()Data type value.java.lang.StringtoString()Constructs aStringwith all attributes in name = value format.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name of the data type. To avoid collisions, it is recommended that URLs are used.- Returns:
- not null
-
getValue
public java.lang.String getValue()
Data type value.- Returns:
- not null
-
toString
public java.lang.String toString()
Constructs aStringwith all attributes in name = value format.- Overrides:
toStringin classjava.lang.Object- Returns:
- a
Stringrepresentation of this object.
-
-