@Deprecated @Bean(properties="name,description") public class NameDescription extends Object
Constructor and Description |
---|
NameDescription()
Deprecated.
No-arg constructor.
|
NameDescription(Object name,
Object description)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
NameDescription |
description(Object description)
Deprecated.
Sets the description field on this label to a new value.
|
Object |
getDescription()
Deprecated.
Returns the description field on this label.
|
Object |
getName()
Deprecated.
Returns the name field on this label.
|
NameDescription |
name(Object name)
Deprecated.
Sets the name field on this label to a new value.
|
public NameDescription()
public NameDescription(Object name, Object description)
name
- A name.description
- A description.public Object getName()
@BeanProperty public NameDescription name(Object name)
name
- The new name.public Object getDescription()
@BeanProperty public NameDescription description(Object description)
description
- The new description.Copyright © 2018 Apache. All rights reserved.