Uses of Class
org.faktorips.runtime.model.type.ModelObjectAttribute
Packages that use ModelObjectAttribute
Package
Description
Classes that allow access to design time model information on policy and product component types.
-
Uses of ModelObjectAttribute in org.faktorips.runtime.model.type
Fields in org.faktorips.runtime.model.type with type parameters of type ModelObjectAttributeModifier and TypeFieldDescriptionstatic final Predicate<ModelObjectAttribute>ModelObjectAttributes.IS_IRRELEVANT_BUT_NOT_EMPTYMethods in org.faktorips.runtime.model.type that return ModelObjectAttributeModifier and TypeMethodDescriptionstatic final ModelObjectAttributeModelObjectAttribute.of(IModelObject modelObject, String attributeName) Creates aModelObjectAttributefor the given model object and policy attribute.static final ModelObjectAttributeModelObjectAttribute.of(IModelObject modelObject, PolicyAttribute policyAttribute) Creates aModelObjectAttributefor the given model object and policy attribute.ModelObjectAttribute.removeValue()Sets the model object attribute to its null-value (nullfor most datatypes, aNullObjectfor for theNullObjectSupport-datatypesDecimalandMoney, and an empty string for the datatypeString) This only works for changeable attributes.ModelObjectAttribute.setDefaultValue(Object defaultValue) Sets the product configured default value of this attribute.ModelObjectAttribute.setValueSet(org.faktorips.valueset.ValueSet<?> valueSet) Sets the product configured set of allowed values of this model object attribute.Methods in org.faktorips.runtime.model.type that return types with arguments of type ModelObjectAttributeModifier and TypeMethodDescriptionPolicyCmptType.getModelObjectAttributes(IModelObject modelObject) Returns a list withModelObjectAttributeswith allPolicyCmptType.getAttributes()of thisPolicyCmptTypestatic List<ModelObjectAttribute>ModelObjectAttributes.of(IModelObject modelObject) Collects allModelObjectAttributesof the given model object.static List<ModelObjectAttribute>ModelObjectAttributes.ofIncludingChildren(IModelObject modelObject) Collects allModelObjectAttributesof the given model object and its children.static List<ModelObjectAttribute>ModelObjectAttributes.resetAttributes(IModelObject modelObject, Predicate<ModelObjectAttribute> shouldReset) Clears attributes of aIModelObjectand its dependent model-objects that match the givenPredicate.static List<ModelObjectAttribute>ModelObjectAttributes.resetIrrelevantAttributes(IModelObject modelObject) Clearsirrelevantattributes of aIModelObjectand its dependent model-objects.Method parameters in org.faktorips.runtime.model.type with type arguments of type ModelObjectAttributeModifier and TypeMethodDescriptionstatic List<ModelObjectAttribute>ModelObjectAttributes.resetAttributes(IModelObject modelObject, Predicate<ModelObjectAttribute> shouldReset) Clears attributes of aIModelObjectand its dependent model-objects that match the givenPredicate.