Tabnine Logo
XSDSimpleTypeDefinition.getMaxInclusiveFacet
Code IndexAdd Tabnine to your IDE (free)

How to use
getMaxInclusiveFacet
method
in
org.eclipse.xsd.XSDSimpleTypeDefinition

Best Java code snippets using org.eclipse.xsd.XSDSimpleTypeDefinition.getMaxInclusiveFacet (Showing top 4 results out of 315)

origin: org.eclipse/org.eclipse.wst.xsd.ui

public UpdateNumericBoundsFacetCommand(String label, XSDSimpleTypeDefinition xsdSimpleType, boolean includeMin, boolean includeMax)
{
 super(label);
 this.xsdSimpleType = xsdSimpleType;
 this.includeMin = includeMin;
 this.includeMax = includeMax;
 
 minInclusiveFacet = xsdSimpleType.getMinInclusiveFacet();
 minExclusiveFacet = xsdSimpleType.getMinExclusiveFacet();
 maxInclusiveFacet = xsdSimpleType.getMaxInclusiveFacet();
 maxExclusiveFacet = xsdSimpleType.getMaxExclusiveFacet();
}
origin: org.eclipse/org.eclipse.xsd

@Override
public void validate()
{
 super.validate();
 XSDSimpleTypeDefinition xsdSimpleTypeDefinition = getSimpleTypeDefinition();
 if (isExclusive())
 {
  XSDMaxInclusiveFacet xsdMaxInclusiveFacet = xsdSimpleTypeDefinition.getMaxInclusiveFacet();
  if (xsdMaxInclusiveFacet != null)
  {
   XSDDiagnostic xsdDiagnostic =
    reportConstraintViolation
     (XSDConstants.PART2,
      "maxInclusive-maxExclusive",
      getElement(),
      XSDConstants.VALUE_ATTRIBUTE,
      new Object [] { });
   xsdDiagnostic.getComponents().add(xsdMaxInclusiveFacet);
  }
 }
}
origin: org.eclipse.xsd/org.eclipse.xsd

@Override
public void validate()
{
 super.validate();
 XSDSimpleTypeDefinition xsdSimpleTypeDefinition = getSimpleTypeDefinition();
 if (isExclusive())
 {
  XSDMaxInclusiveFacet xsdMaxInclusiveFacet = xsdSimpleTypeDefinition.getMaxInclusiveFacet();
  if (xsdMaxInclusiveFacet != null)
  {
   XSDDiagnostic xsdDiagnostic =
    reportConstraintViolation
     (XSDConstants.PART2,
      "maxInclusive-maxExclusive",
      getElement(),
      XSDConstants.VALUE_ATTRIBUTE,
      new Object [] { });
   xsdDiagnostic.getComponents().add(xsdMaxInclusiveFacet);
  }
 }
}
origin: org.eclipse/org.eclipse.wst.xsd.ui

XSDMaxInclusiveFacet maxInclusiveFacet = xsdSimpleTypeDefinition.getMaxInclusiveFacet();
XSDMaxExclusiveFacet maxExclusiveFacet = xsdSimpleTypeDefinition.getMaxExclusiveFacet();
org.eclipse.xsdXSDSimpleTypeDefinitiongetMaxInclusiveFacet

Javadoc

Returns the value of the 'Max Inclusive Facet' reference.

This represents the org.eclipse.xsd.XSDMaxInclusiveFacet of the #getFacetContents.

Popular methods of XSDSimpleTypeDefinition

  • getItemTypeDefinition
    Returns the value of the 'Item Type Definition' reference. This represents theitem type definition [
  • getVariety
    Returns the value of the 'Variety' attribute. The literals are from the enumeration org.eclipse.xsd.
  • getMaxLengthFacet
    Returns the value of the 'Max Length Facet' reference. This represents the org.eclipse.xsd.XSDMaxLen
  • getMinLengthFacet
    Returns the value of the 'Min Length Facet' reference. This represents the org.eclipse.xsd.XSDMinLen
  • getEnumerationFacets
    Returns the value of the 'Enumeration Facets' reference list. The list contents are of type org.ecli
  • getFacets
    Returns the value of the 'Facets' reference list. The list contents are of type org.eclipse.xsd.XSDC
  • getLengthFacet
    Returns the value of the 'Length Facet' reference. This represents the org.eclipse.xsd.XSDLengthFace
  • getName
  • getBaseType
  • getBaseTypeDefinition
    Returns the value of the 'Base Type Definition' reference. This represents thebase type definition [
  • getContainer
  • getContents
    Returns the value of the 'Contents' containment reference list. The list contents are of type org.ec
  • getContainer,
  • getContents,
  • getMaxFacet,
  • getMemberTypeDefinitions,
  • getTargetNamespace,
  • getValidFacets,
  • setBaseTypeDefinition,
  • setItemTypeDefinition,
  • setName,
  • setVariety

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • runOnUiThread (Activity)
  • setContentView (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now