새 속성 제한조건 작성

다음을 참조하십시오.

새 자산 유형 속성 제한조건을 작성하려면 RAMAssetType.createAttributeConstraint(RAMAssetAttribute, boolean isRequired)를 사용하십시오. 저장소 관리자만 글로벌 자산 유형을 수정할 수 있습니다.

                //Create Attribute Constraints
                RAMAttributeConstraint constraint = assetType.
                        createAttributeConstraint(session.getAssetAttribute("Custom1"), true);

피드백