com.alipay.v3.util.schema.model.attribute.Attribute Maven / Gradle / Ivy
The newest version!
/**
* Alipay.com Inc.
* Copyright (c) 2004-2021 All Rights Reserved.
*/
package com.alipay.v3.util.schema.model.attribute;
import com.alipay.v3.util.schema.exception.SchemaException;
import com.alipay.v3.util.schema.model.enums.AttrTypeEnum;
import com.alipay.v3.util.schema.model.enums.AttrValueTypeEnum;
import com.alipay.v3.util.schema.model.enums.SchemaErrorEnum;
import com.alipay.v3.util.schema.model.option.Option;
import com.alipay.v3.util.schema.model.rule.AttributeRule;
import com.alipay.v3.util.schema.util.StringUtil;
import com.alipay.v3.util.schema.util.XmlUtils;
import org.dom4j.Element;
import java.util.ArrayList;
import java.util.List;
/**
* schema的属性
*
* @author hongbi.wang
* @version $Id: Attribute.java, v 0.1 2021年02月26日 5:41 PM hongbi.wang Exp $
*/
public abstract class Attribute {
private String id;
private String name;
private AttrTypeEnum type;
private AttrValueTypeEnum valueType;
private List rules = new ArrayList();
private List