public class DefaultMetadataElement extends MetadataElement
MetadataElement that specifies if its the default for a given capability.| Constructor and Description |
|---|
DefaultMetadataElement() |
DefaultMetadataElement(String id,
boolean defaultValue) |
DefaultMetadataElement(String id,
String name,
boolean defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
static DefaultMetadataElement |
create(String id,
boolean defaultValue) |
static DefaultMetadataElement |
create(String id,
String name,
boolean defaultValue) |
boolean |
isDefault() |
void |
setDefault(boolean defaultValue) |
getId, getName, setId, setNamepublic DefaultMetadataElement()
public DefaultMetadataElement(String id, boolean defaultValue)
public void setDefault(boolean defaultValue)
public boolean isDefault()
public static DefaultMetadataElement create(String id, boolean defaultValue)
public static DefaultMetadataElement create(String id, String name, boolean defaultValue)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.