Modifier and Type | Class and Description |
---|---|
static class |
AttributeMetadata.Builder<V> |
static class |
AttributeMetadata.Cardinality
The cardinality of the attribute.
|
Modifier and Type | Field and Description |
---|---|
protected AttributeMetadata.Cardinality |
cardinality |
protected com.google.common.base.Optional<V> |
defaultValue |
protected com.google.common.base.Optional<String> |
description |
protected String |
name |
protected String |
rawType |
protected Class<V> |
type |
Modifier | Constructor and Description |
---|---|
protected |
AttributeMetadata(String name,
Class<V> type,
String rawType,
AttributeMetadata.Cardinality cardinality,
com.google.common.base.Optional<V> defaultValue,
com.google.common.base.Optional<String> description) |
Modifier and Type | Method and Description |
---|---|
static <V> AttributeMetadata.Builder<V> |
builder() |
boolean |
equals(Object obj) |
AttributeMetadata.Cardinality |
getCardinality()
The cardinality of the attribute.
|
com.google.common.base.Optional<V> |
getDefaultValue()
The default value of the attribute, if applicable.
|
com.google.common.base.Optional<String> |
getDescription()
A human-readable description of the attribute.
|
String |
getName()
The name of the attribute associated with the policy type.
|
String |
getRawType()
Literal type of the value, noting that if it doesn't correspond to a primitive or String,
will return String.class |
Class<V> |
getType()
The type of attribute.
|
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
AttributeMetadata.Builder<V> |
toBuilder() |
String |
toString() |
protected final String name
protected final String rawType
protected final AttributeMetadata.Cardinality cardinality
protected final com.google.common.base.Optional<V> defaultValue
protected final com.google.common.base.Optional<String> description
public static <V> AttributeMetadata.Builder<V> builder()
public AttributeMetadata.Builder<V> toBuilder()
public String getName()
public String getRawType()
will return String.class
public AttributeMetadata.Cardinality getCardinality()
public com.google.common.base.Optional<V> getDefaultValue()
public com.google.common.base.Optional<String> getDescription()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.