Package io.tesler.core.crudma.bc
Class BusinessComponent
- java.lang.Object
-
- io.tesler.core.crudma.bc.BusinessComponent
-
- All Implemented Interfaces:
BcIdentifier
public class BusinessComponent extends Object implements BcIdentifier
-
-
Constructor Summary
Constructors Constructor Description BusinessComponent(String id, String parentId, BcDescription description)
BusinessComponent(String id, String parentId, BcDescription description, BcHierarchy hierarchy)
BusinessComponent(String id, String parentId, BcDescription description, BcHierarchy hierarchy, QueryParameters parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends BcDescription>
TgetDescription()
Long
getIdAsLong()
String
getName()
Long
getParentIdAsLong()
String
getParentName()
List<String>
getPreInvokeParameters()
BusinessComponent
withId(String id)
BusinessComponent
withParentId(String parentId)
-
-
-
Constructor Detail
-
BusinessComponent
public BusinessComponent(String id, String parentId, BcDescription description)
-
BusinessComponent
public BusinessComponent(String id, String parentId, BcDescription description, BcHierarchy hierarchy)
-
BusinessComponent
public BusinessComponent(String id, String parentId, BcDescription description, BcHierarchy hierarchy, QueryParameters parameters)
-
-
Method Detail
-
getDescription
public <T extends BcDescription> T getDescription()
-
getIdAsLong
public Long getIdAsLong()
-
getParentIdAsLong
public Long getParentIdAsLong()
-
getName
public String getName()
- Specified by:
getName
in interfaceBcIdentifier
-
getParentName
public String getParentName()
- Specified by:
getParentName
in interfaceBcIdentifier
-
withId
public BusinessComponent withId(String id)
-
withParentId
public BusinessComponent withParentId(String parentId)
-
-