public class ProtocolInfo extends Object
Constructor and Description |
---|
ProtocolInfo()
Creates a new ProtocolInfo with no associated name or forms.
|
ProtocolInfo(String name)
Creates a new ProtocolInfo having the given name, but without any forms.
|
ProtocolInfo(String name,
Collection<Form> forms)
Creates a new ProtocolInfo having the given name and forms.
|
Modifier and Type | Method and Description |
---|---|
Collection<Form> |
getForms()
Returns a mutable collection of the protocol forms associated with
this protocol.
|
String |
getName()
Returns the unique name of this protocol.
|
void |
setForms(Collection<Form> forms)
Sets the collection of protocol forms associated with this
protocol.
|
void |
setName(String name)
Sets the unique name of this protocol.
|
public ProtocolInfo()
public ProtocolInfo(String name)
name
- The unique name associated with the protocol.public ProtocolInfo(String name, Collection<Form> forms)
name
- The unique name associated with the protocol.forms
- The forms to associate with the protocol.public String getName()
public void setName(String name)
name
- The unique name of this protocol.public Collection<Form> getForms()
public void setForms(Collection<Form> forms)
forms
- The collection of forms to associate with this protocol.Copyright © 2015. All rights reserved.