File | Line |
---|
org/kuali/rice/kim/api/permission/Permission.java | 233 |
org/kuali/rice/kim/api/responsibility/Responsibility.java | 232 |
public static Builder create(ResponsibilityContract contract) {
Builder builder = new Builder(contract.getNamespaceCode(), contract.getName());
builder.setId(contract.getId());
builder.setDescription(contract.getDescription());
if (contract.getAttributes() != null) {
builder.setAttributes(contract.getAttributes());
}
builder.setActive(contract.isActive());
builder.setVersionNumber(contract.getVersionNumber());
builder.setObjectId(contract.getObjectId());
if (contract.getTemplate() != null) {
builder.setTemplate(Template.Builder.create(contract.getTemplate()));
}
return builder;
}
@Override
public String getId() {
return id;
}
public void setId(final String id) {
this.id = id;
}
@Override
public String getNamespaceCode() {
return namespaceCode;
}
public void setNamespaceCode(final String namespaceCode) {
if (StringUtils.isBlank(namespaceCode)) {
throw new IllegalArgumentException("namespaceCode is blank");
}
this.namespaceCode = namespaceCode;
}
@Override
public String getName() {
return name;
}
public void setName(final String name) {
if (StringUtils.isBlank(name)) {
throw new IllegalArgumentException("name is blank");
}
this.name = name;
}
@Override
public String getDescription() {
return description;
}
public void setDescription(final String description) {
this.description = description;
}
@Override
public Template.Builder getTemplate() {
return template;
}
public void setTemplate(final Template.Builder template) {
if (template == null) {
throw new IllegalArgumentException("template is null");
}
this.template = template;
}
@Override
public boolean isActive() {
return active;
}
public void setActive(final boolean active) {
this.active = active;
}
@Override
public Long getVersionNumber() {
return versionNumber;
}
public void setVersionNumber(final Long versionNumber) {
if (versionNumber != null && versionNumber <= 0) {
throw new IllegalArgumentException("versionNumber is invalid");
}
this.versionNumber = versionNumber;
}
@Override
public String getObjectId() {
return objectId;
}
public void setObjectId(final String objectId) {
this.objectId = objectId;
}
@Override
public Map<String, String> getAttributes() {
return attributes;
}
public void setAttributes(Map<String, String> attributes) {
this.attributes = Collections.unmodifiableMap(Maps.newHashMap(attributes));
}
@Override
public Responsibility build() { |
File | Line |
---|
org/kuali/rice/kim/api/identity/address/EntityAddress.java | 251 |
org/kuali/rice/kim/api/identity/address/EntityAddress.java | 500 |
}
@Override
public String getAttentionLineUnmasked() {
return this.attentionLineUnmasked;
}
@Override
public String getLine1Unmasked() {
return this.line1Unmasked;
}
@Override
public String getLine2Unmasked() {
return this.line2Unmasked;
}
@Override
public String getLine3Unmasked() {
return this.line3Unmasked;
}
@Override
public String getCityUnmasked() {
return this.cityUnmasked;
}
@Override
public String getStateProvinceCodeUnmasked() {
return this.stateProvinceCodeUnmasked;
}
@Override
public String getPostalCodeUnmasked() {
return this.postalCodeUnmasked;
}
@Override
public String getCountryCodeUnmasked() {
return this.countryCodeUnmasked;
}
@Override
public String getAddressFormat() {
return this.addressFormat;
}
@Override
public DateTime getModifiedDate() {
return modifiedDate;
}
@Override
public DateTime getValidatedDate() {
return validatedDate;
}
@Override
public boolean isValidated() {
return validated;
}
@Override
public String getNoteMessage() {
return noteMessage;
}
@Override
public boolean isSuppressAddress() {
return this.suppressAddress;
}
@Override
public boolean isDefaultValue() {
return this.defaultValue;
}
@Override
public Long getVersionNumber() {
return this.versionNumber;
}
@Override
public String getObjectId() {
return this.objectId;
}
@Override
public boolean isActive() {
return this.active;
}
@Override
public String getId() {
return this.id;
}
public void setEntityId(String entityId) { |
File | Line |
---|
org/kuali/rice/kim/api/permission/Permission.java | 119 |
org/kuali/rice/kim/api/responsibility/Responsibility.java | 118 |
private Responsibility(Builder builder) {
this.id = builder.getId();
this.namespaceCode = builder.getNamespaceCode();
this.name = builder.getName();
this.description = builder.getDescription();
this.template = builder.getTemplate() != null ? builder.getTemplate().build() : null;
this.attributes = builder.getAttributes() != null ? builder.getAttributes() : Collections.<String, String>emptyMap();
this.active = builder.isActive();
this.versionNumber = builder.getVersionNumber();
this.objectId = builder.getObjectId();
}
/**
* @see ResponsibilityContract#getId()
*/
@Override
public String getId() {
return id;
}
/**
* @see ResponsibilityContract#getNamespaceCode()
*/
@Override
public String getNamespaceCode() {
return namespaceCode;
}
/**
* @see ResponsibilityContract#getName()
*/
@Override
public String getName() {
return name;
}
/**
* @see ResponsibilityContract#getDescription()
*/
@Override
public String getDescription() {
return description;
}
/**
* @see ResponsibilityContract#getTemplate()
*/
@Override
public Template getTemplate() {
return template;
}
/**
* @see org.kuali.rice.core.api.mo.common.active.Inactivatable#isActive()
*/
@Override
public boolean isActive() {
return active;
}
/**
*
* @see ResponsibilityContract#getAttributes()
*/
@Override
public Map<String, String> getAttributes() {
return this.attributes;
}
/**
* @see org.kuali.rice.core.api.mo.common.Versioned#getVersionNumber()
*/
@Override
public Long getVersionNumber() {
return versionNumber;
}
/**
* @see org.kuali.rice.core.api.mo.common.GloballyUnique#getObjectId()
*/
@Override
public String getObjectId() {
return objectId;
}
/**
* This builder constructs a Responsibility enforcing the constraints of the {@link ResponsibilityContract}.
*/
public static final class Builder implements ResponsibilityContract, ModelBuilder, Serializable { |
File | Line |
---|
org/kuali/rice/kim/api/responsibility/ResponsibilityAction.java | 127 |
org/kuali/rice/kim/api/responsibility/ResponsibilityAction.java | 285 |
return new ResponsibilityAction(this);
}
@Override
public String getPrincipalId() {
return this.principalId;
}
@Override
public String getRoleResponsibilityActionId() {
return this.roleResponsibilityActionId;
}
@Override
public String getParallelRoutingGroupingCode() {
return this.parallelRoutingGroupingCode;
}
@Override
public String getActionTypeCode() {
return this.actionTypeCode;
}
@Override
public String getActionPolicyCode() {
return this.actionPolicyCode;
}
@Override
public Integer getPriorityNumber() {
return this.priorityNumber;
}
@Override
public String getGroupId() {
return this.groupId;
}
@Override
public String getMemberRoleId() {
return this.memberRoleId;
}
@Override
public String getResponsibilityName() {
return this.responsibilityName;
}
@Override
public String getResponsibilityId() {
return this.responsibilityId;
}
@Override
public String getResponsibilityNamespaceCode() {
return this.responsibilityNamespaceCode;
}
@Override
public boolean isForceAction() {
return this.forceAction;
}
@Override
public Map<String, String> getQualifier() {
return this.qualifier;
}
@Override
public List<DelegateType.Builder> getDelegates() { |
File | Line |
---|
org/kuali/rice/kim/api/identity/employment/EntityEmployment.java | 128 |
org/kuali/rice/kim/api/identity/employment/EntityEmployment.java | 250 |
public CodedAttribute.Builder getEmployeeType() {
return this.employeeType;
}
@Override
public String getPrimaryDepartmentCode() {
return this.primaryDepartmentCode;
}
@Override
public String getEmployeeId() {
return this.employeeId;
}
@Override
public String getEmploymentRecordId() {
return this.employmentRecordId;
}
@Override
public KualiDecimal getBaseSalaryAmount() {
return this.baseSalaryAmount;
}
@Override
public boolean isPrimary() {
return this.primary;
}
@Override
public Long getVersionNumber() {
return this.versionNumber;
}
@Override
public String getObjectId() {
return this.objectId;
}
@Override
public boolean isActive() {
return this.active;
}
@Override
public String getId() {
return this.id;
}
public void setEntityAffiliation(EntityAffiliation.Builder entityAffiliation) { |
File | Line |
---|
org/kuali/rice/kim/api/common/template/Template.java | 268 |
org/kuali/rice/kim/api/type/KimTypeAttribute.java | 208 |
return kimTypeId;
}
public void setKimTypeId(final String kimTypeId) {
this.kimTypeId = kimTypeId;
}
@Override
public boolean isActive() {
return active;
}
public void setActive(final boolean active) {
this.active = active;
}
@Override
public Long getVersionNumber() {
return versionNumber;
}
public void setVersionNumber(final Long versionNumber) {
if (versionNumber == null || versionNumber <= 0) {
throw new IllegalArgumentException("versionNumber is invalid");
}
this.versionNumber = versionNumber;
}
@Override
public String getObjectId() {
return objectId;
}
public void setObjectId(final String objectId) {
this.objectId = objectId;
}
@Override
public KimTypeAttribute build() { |
File | Line |
---|
org/kuali/rice/kim/api/identity/email/EntityEmail.java | 238 |
org/kuali/rice/kim/api/identity/phone/EntityPhone.java | 358 |
}
@Override
public boolean isDefaultValue() {
return this.defaultValue;
}
@Override
public Long getVersionNumber() {
return this.versionNumber;
}
@Override
public String getObjectId() {
return this.objectId;
}
@Override
public boolean isActive() {
return this.active;
}
public void setId(String id) {
if (StringUtils.isWhitespace(id)) {
throw new IllegalArgumentException("id is blank");
}
this.id = id;
}
public void setEntityTypeCode(String entityTypeCode) {
this.entityTypeCode = entityTypeCode;
}
public void setEntityId(String entityId) {
this.entityId = entityId;
}
public void setPhoneType(CodedAttribute.Builder phoneType) { |
File | Line |
---|
org/kuali/rice/kim/api/identity/privacy/EntityPrivacyPreferences.java | 78 |
org/kuali/rice/kim/api/identity/privacy/EntityPrivacyPreferences.java | 163 |
return new EntityPrivacyPreferences(this);
}
@Override
public String getEntityId() {
return this.entityId;
}
@Override
public boolean isSuppressName() {
return this.suppressName;
}
@Override
public boolean isSuppressAddress() {
return this.suppressAddress;
}
@Override
public boolean isSuppressEmail() {
return this.suppressEmail;
}
@Override
public boolean isSuppressPhone() {
return this.suppressPhone;
}
@Override
public boolean isSuppressPersonal() {
return this.suppressPersonal;
}
@Override
public Long getVersionNumber() {
return this.versionNumber;
}
@Override
public String getObjectId() {
return this.objectId;
}
public void setEntityId(String entityId) { |
File | Line |
---|
org/kuali/rice/kim/api/identity/name/EntityName.java | 257 |
org/kuali/rice/kim/api/identity/name/EntityName.java | 460 |
}
@Override
public String getNoteMessage() {
return this.noteMessage;
}
@Override
public DateTime getNameChangedDate() {
return this.nameChangedDate;
}
@Override
public boolean isSuppressName() {
return this.suppressName;
}
@Override
public Long getVersionNumber() {
return this.versionNumber;
}
@Override
public String getObjectId() {
return this.objectId;
}
@Override
public boolean isDefaultValue() {
return this.defaultValue;
}
@Override
public boolean isActive() {
return this.active;
}
@Override
public String getId() {
return this.id;
}
public void setNameSuffix(String nameSuffix) { |
File | Line |
---|
org/kuali/rice/kim/api/identity/affiliation/EntityAffiliation.java | 41 |
org/kuali/rice/kim/api/identity/name/EntityName.java | 107 |
@XmlElement(name = CoreConstants.CommonElements.VERSION_NUMBER, required = false)
private final Long versionNumber;
@XmlElement(name = CoreConstants.CommonElements.OBJECT_ID, required = false)
private final String objectId;
@XmlElement(name = Elements.DEFAULT_VALUE, required = false)
private final boolean defaultValue;
@XmlElement(name = Elements.ACTIVE, required = false)
private final boolean active;
@XmlElement(name = Elements.ID, required = false)
private final String id;
@SuppressWarnings("unused")
@XmlAnyElement
private final Collection<Element> _futureElements = null;
/**
* Private constructor used only by JAXB.
*
*/
private EntityName() { |
File | Line |
---|
org/kuali/rice/kim/api/identity/citizenship/EntityCitizenship.java | 97 |
org/kuali/rice/kim/api/identity/citizenship/EntityCitizenship.java | 189 |
public CodedAttribute.Builder getStatus() {
return this.status;
}
@Override
public String getCountryCode() {
return this.countryCode;
}
@Override
public DateTime getStartDate() {
return this.startDate;
}
@Override
public DateTime getEndDate() {
return this.endDate;
}
@Override
public Long getVersionNumber() {
return this.versionNumber;
}
@Override
public String getObjectId() {
return this.objectId;
}
@Override
public boolean isActive() {
return this.active;
}
@Override
public String getId() {
return this.id;
}
public void setEntityId(String entityId) { |
File | Line |
---|
org/kuali/rice/kim/api/identity/CodedAttribute.java | 156 |
org/kuali/rice/kim/api/identity/external/EntityExternalIdentifierType.java | 170 |
}
@Override
public Long getVersionNumber() {
return this.versionNumber;
}
@Override
public String getObjectId() {
return this.objectId;
}
@Override
public boolean isActive() {
return this.active;
}
public void setName(String name) {
this.name = name;
}
public void setCode(String code) {
if (StringUtils.isWhitespace(code)) {
throw new IllegalArgumentException("code is empty");
}
this.code = code;
}
public void setSortCode(String sortCode) {
this.sortCode = sortCode;
}
public void setEncryptionRequired(boolean encryptionRequired) { |
File | Line |
---|
org/kuali/rice/kim/api/role/RoleResponsibility.java | 200 |
org/kuali/rice/kim/api/role/RoleResponsibilityAction.java | 276 |
}
@Override
public Long getVersionNumber() {
return versionNumber;
}
public void setVersionNumber(Long versionNumber) {
if (versionNumber == null) {
throw new IllegalArgumentException("versionNumber must be non-null");
}
this.versionNumber = versionNumber;
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(obj, this);
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
}
/**
* A private class which exposes constants which define the XML element names to use
* when this object is marshalled to XML.
*/
static class Elements {
final static String ID = "id"; |
File | Line |
---|
org/kuali/rice/kim/api/permission/Permission.java | 302 |
org/kuali/rice/kim/api/type/KimType.java | 317 |
}
@Override
public boolean isActive() {
return active;
}
public void setActive(final boolean active) {
this.active = active;
}
@Override
public Long getVersionNumber() {
return versionNumber;
}
public void setVersionNumber(final Long versionNumber) {
if (versionNumber != null && versionNumber <= 0) {
throw new IllegalArgumentException("versionNumber is invalid");
}
this.versionNumber = versionNumber;
}
@Override
public String getObjectId() {
return objectId;
}
public void setObjectId(final String objectId) {
this.objectId = objectId;
}
@Override
public KimType build() { |
File | Line |
---|
org/kuali/rice/kim/api/common/attribute/KimAttribute.java | 245 |
org/kuali/rice/kim/api/common/template/Template.java | 273 |
}
@Override
public boolean isActive() {
return active;
}
public void setActive(final boolean active) {
this.active = active;
}
@Override
public Long getVersionNumber() {
return versionNumber;
}
public void setVersionNumber(final Long versionNumber) {
if (versionNumber == null || versionNumber <= 0) {
throw new IllegalArgumentException("versionNumber is invalid");
}
this.versionNumber = versionNumber;
}
@Override
public String getObjectId() {
return objectId;
}
public void setObjectId(final String objectId) {
this.objectId = objectId;
}
@Override
public Template build() { |