Uses of Class
org.faktorips.runtime.model.type.ModelObjectAttribute
-
Packages that use ModelObjectAttribute Package Description org.faktorips.runtime.model.type 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 ModelObjectAttribute Modifier and Type Field Description static java.util.function.Predicate<ModelObjectAttribute>ModelObjectAttributes. IS_IRRELEVANT_BUT_NOT_EMPTYThePredicateused inModelObjectAttributes.resetIrrelevantAttributes(IModelObject).Methods in org.faktorips.runtime.model.type that return ModelObjectAttribute Modifier and Type Method Description static ModelObjectAttributeModelObjectAttribute. of(IModelObject modelObject, java.lang.String attributeName)Creates aModelObjectAttributefor the given model object and policy attribute.static ModelObjectAttributeModelObjectAttribute. of(IModelObject modelObject, PolicyAttribute policyAttribute)Creates aModelObjectAttributefor the given model object and policy attribute.ModelObjectAttributeModelObjectAttribute. 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.ModelObjectAttributeModelObjectAttribute. setDefaultValue(java.lang.Object defaultValue)Sets the product configured default value of this attribute.ModelObjectAttributeModelObjectAttribute. 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 ModelObjectAttribute Modifier and Type Method Description java.util.List<ModelObjectAttribute>PolicyCmptType. getModelObjectAttributes(IModelObject modelObject)Returns a list withModelObjectAttributeswith allPolicyCmptType.getAttributes()of thisPolicyCmptTypestatic java.util.List<ModelObjectAttribute>ModelObjectAttributes. of(IModelObject modelObject)Collects allModelObjectAttributesof the given model object.static java.util.List<ModelObjectAttribute>ModelObjectAttributes. ofIncludingChildren(IModelObject modelObject)Collects allModelObjectAttributesof the given model object and its children.static java.util.List<ModelObjectAttribute>ModelObjectAttributes. resetAttributes(IModelObject modelObject, java.util.function.Predicate<ModelObjectAttribute> shouldReset)Clears attributes of aIModelObjectand its dependent model-objects that match the givenPredicate.static java.util.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 ModelObjectAttribute Modifier and Type Method Description static java.util.List<ModelObjectAttribute>ModelObjectAttributes. resetAttributes(IModelObject modelObject, java.util.function.Predicate<ModelObjectAttribute> shouldReset)Clears attributes of aIModelObjectand its dependent model-objects that match the givenPredicate.
-