org.jclouds.dmtf.ovf
Class Property.Builder<B extends Property.Builder<B>>

java.lang.Object
  extended by org.jclouds.dmtf.ovf.Property.Builder<B>
Enclosing class:
Property

public abstract static class Property.Builder<B extends Property.Builder<B>>
extends Object


Field Summary
protected  String defaultValue
           
protected  MsgType description
           
protected  String key
           
protected  MsgType label
           
protected  String qualifiers
           
protected  String type
           
protected  Boolean userConfigurable
           
protected  Set<PropertyConfigurationValueType> values
           
 
Constructor Summary
Property.Builder()
           
 
Method Summary
 Property build()
           
 B defaultValue(String defaultValue)
           
 B description(MsgType description)
           
 B fromProperty(Property in)
           
 B isUserConfigurable(Boolean userConfigurable)
           
 B key(String key)
           
 B label(MsgType label)
           
 B notUserConfigurable()
           
 B qualifiers(Iterable<String> qualifiers)
           
 B qualifiers(String... qualifiers)
           
 B qualifiers(String qualifiers)
           
protected  B self()
           
 B type(String type)
           
 B userConfigurable()
           
 B value(PropertyConfigurationValueType value)
           
 B values(Set<PropertyConfigurationValueType> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected String key

values

protected Set<PropertyConfigurationValueType> values

label

protected MsgType label

description

protected MsgType description

type

protected String type

qualifiers

protected String qualifiers

userConfigurable

protected Boolean userConfigurable

defaultValue

protected String defaultValue
Constructor Detail

Property.Builder

public Property.Builder()
Method Detail

self

protected B self()

key

public B key(String key)
See Also:
Property.getKey()

values

public B values(Set<PropertyConfigurationValueType> values)
See Also:
Property.getValues()

value

public B value(PropertyConfigurationValueType value)
See Also:
Property.getValues()

label

public B label(MsgType label)
See Also:
Property.getLabel()

description

public B description(MsgType description)
See Also:
Property.getDescription()

type

public B type(String type)
See Also:
Property.getType()

qualifiers

public B qualifiers(String qualifiers)
See Also:
Property.getQualifiers()

qualifiers

public B qualifiers(Iterable<String> qualifiers)
See Also:
Property.getQualifiers()

qualifiers

public B qualifiers(String... qualifiers)
See Also:
Property.getQualifiers()

isUserConfigurable

public B isUserConfigurable(Boolean userConfigurable)
See Also:
Property.isUserConfigurable()

userConfigurable

public B userConfigurable()
See Also:
Property.isUserConfigurable()

notUserConfigurable

public B notUserConfigurable()
See Also:
Property.isUserConfigurable()

defaultValue

public B defaultValue(String defaultValue)
See Also:
Property.getDefaultValue()

build

public Property build()

fromProperty

public B fromProperty(Property in)


Copyright © 2009-2012 jclouds. All Rights Reserved.