Interface KrmsTypeDefinitionContract
- All Superinterfaces:
Identifiable,Inactivatable,Versioned
- All Known Implementing Classes:
KrmsTypeDefinition,KrmsTypeDefinition.Builder
Defines the contract for a KRMS type definition.
A KrmsTypeDefinition is a metadata wrapper around a KRMS type service. This contains a collection of related attributes. This also provides the name of the service used to resolve these attributes.
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends KrmsTypeAttributeContract>Returns a list of attributes associated with the KRMS type definition.getName()Returns the name of the KrmsTypeDefinition.Returns the namespace to which the KrmsTypeDefinition belongs.Returns the name of the service used to resolve attribute values.Methods inherited from interface org.kuali.rice.core.api.mo.common.Identifiable
getIdMethods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActiveMethods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
-
Method Details
-
getName
String getName()Returns the name of the KrmsTypeDefinition. All KrmsTypeDefinitions have a name, so this value can not be null or blank. The combination of name and namespace must be unique within the entire KRMS system.- Returns:
- the name of this KrmsTypeDefinition
-
getNamespace
String getNamespace()Returns the namespace to which the KrmsTypeDefinition belongs. All type definitions exist within a namespace. This value can not be null or blank. The combination of name and namespace must be unique within the entire KRMS system.- Returns:
- the namespace of this KrmsTypeDefinition
-
getServiceName
String getServiceName()Returns the name of the service used to resolve attribute values. The service name may be null or blank.- Returns:
- the service name of this KrmsTypeDefinition
-
getAttributes
List<? extends KrmsTypeAttributeContract> getAttributes()Returns a list of attributes associated with the KRMS type definition. This can be empty, but will never be null. If no attribute definitions are associated with the KRMS type then this will return an empty collection.- Returns:
- the list of KrmsTypeAttributeContract attribute definition contracts
-