Class SourceModel.Property

  • Enclosing class:
    SourceModel

    public static class SourceModel.Property
    extends Object
    • Field Detail

      • name

        protected final String name
      • value

        protected final Object value
      • jcrType

        protected final Integer jcrType
        JCR PropertyType since that cannot be guessed from the value in various cases.
    • Method Detail

      • getNs

        public String getNs()
      • isMultiValue

        public boolean isMultiValue()
      • isBinary

        public boolean isBinary()
      • getName

        public String getName()
      • getEscapedString

        public String getEscapedString​(String indent)
        Properly escaped String that can be written as attribute value into an XML file.
      • getEscapedString

        protected String getEscapedString​(Object aValue)
      • escapeXmlAttribute

        public static String escapeXmlAttribute​(String attrValue)
      • getOrderingLevel

        protected int getOrderingLevel()
      • getTypePrefix

        protected String getTypePrefix​(Object aValue)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object