public class MetadataObjects
extends java.lang.Object
MetadataObject
.Modifier and Type | Class and Description |
---|---|
static class |
MetadataObjects.MetadataObjectImpl
The implementation of the
MetadataObject . |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
METADATA_OBJECT_RESERVED_NAME
The reserved name for the metadata object.
|
Modifier and Type | Method and Description |
---|---|
static MetadataObject |
of(java.util.List<java.lang.String> names,
MetadataObject.Type type)
Create the metadata object with the given names and type.
|
static MetadataObject |
of(java.lang.String parent,
java.lang.String name,
MetadataObject.Type type)
Create the metadata object with the given name, parent and type.
|
static MetadataObject |
parent(MetadataObject object)
Get the parent metadata object of the given metadata object.
|
static MetadataObject |
parse(java.lang.String fullName,
MetadataObject.Type type)
Parse the metadata object with the given full name and type.
|
public static final java.lang.String METADATA_OBJECT_RESERVED_NAME
public static MetadataObject of(java.lang.String parent, java.lang.String name, MetadataObject.Type type)
parent
- The parent of the metadata objectname
- The name of the metadata objecttype
- The type of the metadata objectpublic static MetadataObject of(java.util.List<java.lang.String> names, MetadataObject.Type type)
names
- The names of the metadata objecttype
- The type of the metadata object@Nullable public static MetadataObject parent(MetadataObject object)
object
- The metadata objectpublic static MetadataObject parse(java.lang.String fullName, MetadataObject.Type type)
fullName
- The full name of the metadata objecttype
- The type of the metadata object