public class DynamicProperty
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_STORE_META_NAMES |
java.util.List<MatchingRule> |
matchingRule |
Property |
property |
boolean |
storeMetaNames |
Constructor and Description |
---|
DynamicProperty() |
DynamicProperty(DynamicProperty o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this DynamicProperty.
|
static DynamicProperty |
fromString(java.lang.String s)
String representation of this DynamicProperty.
|
java.util.List<MatchingRule> |
getMatchingRule()
List of rules to define which document metas should be mapped to this dynamic property.
|
Property |
getProperty()
All property attributes apply to this dynamic property.
|
boolean |
isStoreMetaNames()
Stores the meta name associated to each value, in the resulting index field (or category facet or output context).
|
DynamicProperty |
makeCopy()
Creates and returns a deep copy of this DynamicProperty.
|
static DynamicProperty |
readFrom(java.io.InputStream is)
Read this DynamicProperty from an XML fragment.
|
void |
setProperty(Property property)
All property attributes apply to this dynamic property.
|
void |
setStoreMetaNames(boolean storeMetaNames)
Stores the meta name associated to each value, in the resulting index field (or category facet or output context).
|
java.lang.String |
toString()
String representation of this DynamicProperty.
|
DynamicProperty |
withMatchingRule(java.util.Collection<MatchingRule> __values) |
DynamicProperty |
withMatchingRule(MatchingRule... __values)
List of rules to define which document metas should be mapped to this dynamic property.
|
DynamicProperty |
withProperty(Property property) |
DynamicProperty |
withStoreMetaNames(boolean storeMetaNames) |
DynamicProperty |
withStoreMetaNames(java.lang.Boolean storeMetaNames) |
void |
writeTo(java.io.OutputStream os)
Write this DynamicProperty as an XML fragment
|
public Property property
public boolean storeMetaNames
public static final boolean DEFAULT_STORE_META_NAMES
public java.util.List<MatchingRule> matchingRule
public DynamicProperty()
public DynamicProperty(DynamicProperty o)
public void setProperty(Property property)
public Property getProperty()
public DynamicProperty withProperty(Property property)
public void setStoreMetaNames(boolean storeMetaNames)
public boolean isStoreMetaNames()
public DynamicProperty withStoreMetaNames(boolean storeMetaNames)
public DynamicProperty withStoreMetaNames(java.lang.Boolean storeMetaNames)
public java.util.List<MatchingRule> getMatchingRule()
public DynamicProperty withMatchingRule(MatchingRule... __values)
public DynamicProperty withMatchingRule(java.util.Collection<MatchingRule> __values)
public DynamicProperty makeCopy()
public static DynamicProperty readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static DynamicProperty fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.