public abstract static class AbstractProducerRole.Builder extends Object implements IBuilder, Serializable
Builders which are based upon this abstract class should implement the commit() method, returning the appropriate concrete object type.
IBuilder
,
Serialized FormModifier | Constructor and Description |
---|---|
protected |
Builder()
Base constructor
|
protected |
Builder(AbstractProducerRole producer)
Constructor which starts from an existing component.
|
Modifier and Type | Method and Description |
---|---|
protected IRoleEntity |
commitSelectedEntity()
Commits the entity which is active in this builder, based on the entityType.
|
String |
getEntityType()
Builder accessor for the entityType, which determines which of the 4 entity builders are used.
|
Organization.Builder |
getOrganization()
Builder accessor for the organization builder
|
Person.Builder |
getPerson()
Builder accessor for the person builder
|
List<String> |
getPocTypes()
Builder accessor for the pocTypes
|
SecurityAttributes.Builder |
getSecurityAttributes()
Builder accessor for the Security Attributes
|
Service.Builder |
getService()
Builder accessor for the service builder
|
Unknown.Builder |
getUnknown()
Builder accessor for the unknown builder
|
boolean |
isEmpty()
Helper method to determine if any values have been entered for this producer.
|
void |
setEntityType(String entityType)
Builder accessor for the entityType, which determines which of the 4 entity builders are used.
|
void |
setOrganization(Organization.Builder organization)
Builder accessor for the organization builder
|
void |
setPerson(Person.Builder person)
Builder accessor for the person builder
|
void |
setPocTypes(List<String> pocTypes)
Builder accessor for the pocTypes
|
void |
setSecurityAttributes(SecurityAttributes.Builder securityAttributes)
Builder accessor for the Security Attributes
|
void |
setService(Service.Builder service)
Builder accessor for the service builder
|
void |
setUnknown(Unknown.Builder unknown)
Builder accessor for the unknown builder
|
protected Builder()
protected Builder(AbstractProducerRole producer)
protected IRoleEntity commitSelectedEntity() throws InvalidDDMSException
InvalidDDMSException
public boolean isEmpty()
public SecurityAttributes.Builder getSecurityAttributes()
public void setSecurityAttributes(SecurityAttributes.Builder securityAttributes)
public String getEntityType()
public void setEntityType(String entityType)
public Organization.Builder getOrganization()
public void setOrganization(Organization.Builder organization)
public Person.Builder getPerson()
public void setPerson(Person.Builder person)
public Service.Builder getService()
public void setService(Service.Builder service)
public Unknown.Builder getUnknown()
public void setUnknown(Unknown.Builder unknown)
public List<String> getPocTypes()
public void setPocTypes(List<String> pocTypes)
Copyright 2010 - 2019 by Brian Uri!
Generated on 09/15/2016 12:36 PM
https://ddmsence.urizone.net/