@Entity public class KewTypeBo extends Object implements KewTypeDefinitionContract, MutableInactivatable
| Constructor and Description |
|---|
KewTypeBo()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static KewTypeBo |
from(KewTypeDefinition im)
Converts a immutable object to it's mutable bo counterpart
|
List<KewTypeAttributeBo> |
getAttributes()
Returns a
List of KewTypeAttributeBo. |
String |
getId()
Returns the type id.
|
String |
getName()
Returns the KEW type name.
|
String |
getNamespace()
Returns the name space.
|
String |
getServiceName()
Returns the service name.
|
Long |
getVersionNumber()
Returns the version number.
|
boolean |
isActive()
Returns the status of this KEW type
|
void |
setActive(boolean active) |
void |
setAttributes(List<KewTypeAttributeBo> attributes) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNamespace(String namespace) |
void |
setServiceName(String serviceName) |
void |
setVersionNumber(Long versionNumber) |
static KewTypeDefinition |
to(KewTypeBo bo)
Converts a mutable bo to it's immutable counterpart
|
public KewTypeBo()
public static KewTypeDefinition to(KewTypeBo bo)
bo - the mutable business objectpublic static KewTypeBo from(KewTypeDefinition im)
im - immutable objectpublic String getId()
getId in interface Identifiablepublic String getName()
getName in interface KewTypeDefinitionContractpublic String getNamespace()
getNamespace in interface KewTypeDefinitionContractpublic void setNamespace(String namespace)
getNamespace()public String getServiceName()
getServiceName in interface KewTypeDefinitionContractpublic void setServiceName(String serviceName)
getServiceName()public boolean isActive()
isActive in interface Inactivatablepublic void setActive(boolean active)
setActive in interface MutableInactivatableisActive()public Long getVersionNumber()
getVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
getVersionNumber()public List<KewTypeAttributeBo> getAttributes()
List of KewTypeAttributeBo.getAttributes in interface KewTypeDefinitionContractList of KewTypeAttributeBopublic void setAttributes(List<KewTypeAttributeBo> attributes)
getAttributes()Copyright © 2005–2016 The Kuali Foundation. All rights reserved.