public static final class Organization.Builder
extends java.lang.Object
Organization
.Constructor and Description |
---|
Builder(java.util.Calendar updated,
java.lang.String userId,
java.lang.String updatedByUserId,
java.util.Calendar created,
long version,
java.lang.String userName,
java.lang.String id)
Constructor with parameters for the required properties of
Organization . |
Modifier and Type | Method and Description |
---|---|
Organization |
build() |
Organization.Builder |
setDisplayName(java.lang.String displayName) |
Organization.Builder |
setName(java.lang.String name) |
Organization.Builder |
setOrgSellerInfo(OrgSellerInfo orgSellerInfo) |
Organization.Builder |
setOrgType(java.lang.String orgType)
ORG_TYPE to be associated with the org
|
Organization.Builder |
setProjectState(java.lang.String projectState)
Possible values are:
Organization.PROJECT_STATE_CREATED Organization.PROJECT_STATE_DELETED |
Organization.Builder |
setProperties(OrgProperties properties) |
Organization.Builder |
setUpdatedByUserName(java.lang.String updatedByUserName)
User name that last updated this record
|
public Builder(java.util.Calendar updated, java.lang.String userId, java.lang.String updatedByUserId, java.util.Calendar created, long version, java.lang.String userName, java.lang.String id)
Organization
.public Organization.Builder setUpdatedByUserName(java.lang.String updatedByUserName)
updatedByUserName
- New value for the property.public Organization.Builder setOrgType(java.lang.String orgType)
orgType
- New value for the property.public Organization.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public Organization.Builder setName(java.lang.String name)
name
- New value for the property.public Organization.Builder setOrgSellerInfo(OrgSellerInfo orgSellerInfo)
orgSellerInfo
- New value for the property.public Organization.Builder setProjectState(java.lang.String projectState)
projectState
- New value for the property.public Organization.Builder setProperties(OrgProperties properties)
properties
- New value for the property.public Organization build()