@Immutable public class PropertyDefinition extends ItemDefinition implements javax.jcr.nodetype.PropertyDefinition
PropertyDefinition implementation for the Modeshape client.| Modifier and Type | Class and Description |
|---|---|
protected static class |
PropertyDefinition.Id |
protected class |
PropertyDefinition.StringValue |
| Modifier | Constructor and Description |
|---|---|
protected |
PropertyDefinition(String declaringNodeTypeName,
org.codehaus.jettison.json.JSONObject json,
NodeTypes nodeTypes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String[] |
getAvailableQueryOperators() |
javax.jcr.Value[] |
getDefaultValues() |
String |
getName() |
int |
getRequiredType() |
String[] |
getValueConstraints() |
int |
hashCode() |
protected PropertyDefinition.Id |
id() |
boolean |
isFullTextSearchable() |
boolean |
isMultiple() |
boolean |
isQueryOrderable() |
String |
toString() |
protected int |
typeValueFrom(org.codehaus.jettison.json.JSONObject json,
String name,
int defaultType) |
getDeclaringNodeType, getOnParentVersion, isAutoCreated, isMandatory, isProtected, nodeTypesprotected PropertyDefinition(String declaringNodeTypeName, org.codehaus.jettison.json.JSONObject json, NodeTypes nodeTypes)
protected PropertyDefinition.Id id()
public String getName()
getName in interface javax.jcr.nodetype.ItemDefinitionpublic String[] getAvailableQueryOperators()
getAvailableQueryOperators in interface javax.jcr.nodetype.PropertyDefinitionpublic javax.jcr.Value[] getDefaultValues()
getDefaultValues in interface javax.jcr.nodetype.PropertyDefinitionpublic int getRequiredType()
getRequiredType in interface javax.jcr.nodetype.PropertyDefinitionpublic String[] getValueConstraints()
getValueConstraints in interface javax.jcr.nodetype.PropertyDefinitionpublic boolean isFullTextSearchable()
isFullTextSearchable in interface javax.jcr.nodetype.PropertyDefinitionpublic boolean isMultiple()
isMultiple in interface javax.jcr.nodetype.PropertyDefinitionpublic boolean isQueryOrderable()
isQueryOrderable in interface javax.jcr.nodetype.PropertyDefinitionprotected int typeValueFrom(org.codehaus.jettison.json.JSONObject json, String name, int defaultType)
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.