可使用 RAMAssetType.getAttributeConstraints() 方法来从资产类型中获取属性约束(可用的和必需的资产属性)集。
//Get all Asset Type Attribute Constraints RAMAttributeConstraint[] attributeConstraints = assetType.getAttributeConstraints();