All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.msv.grammar.xmlschema.IdentityConstraint Maven / Gradle / Ivy

There is a newer version: 2.2.5.1
Show newest version
/*
 * @(#)$Id: IdentityConstraint.java,v 1.4 2003/06/09 20:37:22 kk122374 Exp $
 *
 * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
 * 
 * This software is the proprietary information of Sun Microsystems, Inc.  
 * Use is subject to license terms.
 * 
 */
package com.sun.msv.grammar.xmlschema;

/**
 * represents an identity constraint.
 * 
 * @author Kohsuke KAWAGUCHI
 */
public class IdentityConstraint implements java.io.Serializable {
    
    /**
     * selectors of the identity constraint.
     * each XPath separated by '|' will be treated as one entity.
     */
    public final XPath[] selectors;
    
    /** namespace URI of the identity constraint. */
    public final String namespaceURI;
    /** local name of the identity constraint. */
    public final String localName;
    
    /** fields of this constraint. */
    public final Field[] fields;
    
    public IdentityConstraint( String namespaceURI, String localName, XPath[] selectors, Field[] fields ) {
        this.namespaceURI = namespaceURI;
        this.localName = localName;
        this.selectors = selectors;
        this.fields = fields;
    }
    
    // serialization support
    private static final long serialVersionUID = 1;    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy