Class ObjectProperty
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.beans.BaseResourceBean
-
- edu.cornell.mannlib.vitro.webapp.beans.Property
-
- edu.cornell.mannlib.vitro.webapp.beans.ObjectProperty
-
- All Implemented Interfaces:
ResourceBean,Cloneable,Comparable<ObjectProperty>
- Direct Known Subclasses:
FauxObjectPropertyWrapper,ObjectPropertyFiltering
public class ObjectProperty extends Property implements Comparable<ObjectProperty>, ResourceBean, Cloneable
a class representing an object property
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObjectProperty.DisplayComparatorSorts Property objects, by property rank, then alphanumeric.-
Nested classes/interfaces inherited from class edu.cornell.mannlib.vitro.webapp.beans.Property
Property.DisplayComparatorIgnoringPropertyGroup
-
-
Field Summary
-
Fields inherited from class edu.cornell.mannlib.vitro.webapp.beans.BaseResourceBean
localName, localNameWithPrefix, namespace, pickListName, URI
-
-
Constructor Summary
Constructors Constructor Description ObjectProperty()
-
Method Summary
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.beans.Property
getCustomEntryForm, getGroupURI, isAddLinkSuppressed, isDeleteLinkSuppressed, isEditLinkSuppressed, isSubjectSide, setAddLinkSuppressed, setCustomEntryForm, setDeleteLinkSuppressed, setEditLinkSuppressed, setGroupURI, setLabel
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.beans.BaseResourceBean
equals, getLocalName, getLocalNameWithPrefix, getNamespace, getPickListName, getURI, hashCode, isAnonymous, setLocalName, setLocalNameWithPrefix, setNamespace, setPickListName, setURI
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface edu.cornell.mannlib.vitro.webapp.beans.ResourceBean
getLocalName, getNamespace, getPickListName, getURI, isAnonymous, setLocalName, setNamespace, setURI
-
-
-
-
Method Detail
-
xmlToSysOut
public void xmlToSysOut()
for debugging
-
getDomainVClassURI
public String getDomainVClassURI()
- Overrides:
getDomainVClassURIin classProperty
-
setDomainVClassURI
public void setDomainVClassURI(String domainClassURI)
- Overrides:
setDomainVClassURIin classProperty
-
getDomainEntityURI
public String getDomainEntityURI()
-
setDomainEntityURI
public void setDomainEntityURI(String domainEntityURI)
-
getLabel
public String getLabel()
- Specified by:
getLabelin interfaceResourceBean- Overrides:
getLabelin classProperty
-
getDomainPublic
public String getDomainPublic()
-
setDomainPublic
public void setDomainPublic(String domainPublic)
-
getDomainVClass
public VClass getDomainVClass()
-
setDomainVClass
public void setDomainVClass(VClass domainVClass)
-
getParentURI
public String getParentURI()
-
setParentURI
public void setParentURI(String parentURI)
-
getRangeVClassURI
public String getRangeVClassURI()
- Overrides:
getRangeVClassURIin classProperty
-
setRangeVClassURI
public void setRangeVClassURI(String rangeClassURI)
- Overrides:
setRangeVClassURIin classProperty
-
getRangeEntityURI
public String getRangeEntityURI()
-
setRangeEntityURI
public void setRangeEntityURI(String rangeEntityURI)
-
getRangePublic
public String getRangePublic()
-
setRangePublic
public void setRangePublic(String rangePublic)
-
getRangeVClass
public VClass getRangeVClass()
-
setRangeVClass
public void setRangeVClass(VClass rangeVClass)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getPublicDescription
public String getPublicDescription()
-
setPublicDescription
public void setPublicDescription(String s)
-
getExample
public String getExample()
-
setExample
public void setExample(String example)
-
getObjectPropertyStatements
public List<ObjectPropertyStatement> getObjectPropertyStatements()
-
setObjectPropertyStatements
public void setObjectPropertyStatements(List<ObjectPropertyStatement> objectPropertyStatements)
-
getURIInverse
public String getURIInverse()
-
setURIInverse
public void setURIInverse(String URIInverse)
-
getNamespaceInverse
public String getNamespaceInverse()
-
setNamespaceInverse
public void setNamespaceInverse(String namespaceInverse)
-
getLocalNameInverse
public String getLocalNameInverse()
-
setLocalNameInverse
public void setLocalNameInverse(String localNameInverse)
-
getTransitive
public boolean getTransitive()
-
setTransitive
public void setTransitive(boolean transitive)
-
getSymmetric
public boolean getSymmetric()
-
setSymmetric
public void setSymmetric(boolean symmetric)
-
getFunctional
public boolean getFunctional()
-
setFunctional
public void setFunctional(boolean functional)
-
getInverseFunctional
public boolean getInverseFunctional()
-
setInverseFunctional
public void setInverseFunctional(boolean inverseFunctional)
-
setCollateBySubclass
public void setCollateBySubclass(boolean collate)
-
getCollateBySubclass
public boolean getCollateBySubclass()
-
addObjectPropertyStatement
public final void addObjectPropertyStatement(ObjectPropertyStatement objPropertyStmt)
adds a single ObjectPropertyStatement object to Property's object property statements List.
-
getDomainDisplayLimit
public int getDomainDisplayLimit()
- Returns:
- int for compatibility reasons. Null values convert to -1.
-
getDomainDisplayLimitInteger
public Integer getDomainDisplayLimitInteger()
- Returns:
- display limit, or null for an unset value
-
setDomainDisplayLimit
public void setDomainDisplayLimit(Integer domainDisplayLimit)
-
getDomainDisplayTier
public int getDomainDisplayTier()
- Returns:
- int for compatibility reasons. Null values convert to -1.
-
getDomainDisplayTierInteger
public Integer getDomainDisplayTierInteger()
- Returns:
- display tier, or null for an unset value
-
setDomainDisplayTier
public void setDomainDisplayTier(Integer domainDisplayTier)
-
getDomainEntitySortDirection
public String getDomainEntitySortDirection()
-
setDomainEntitySortDirection
public void setDomainEntitySortDirection(String domainEntitySortDirection)
-
getObjectIndividualSortPropertyURI
public String getObjectIndividualSortPropertyURI()
-
setObjectIndividualSortPropertyURI
public void setObjectIndividualSortPropertyURI(String objectIndividualSortPropertyURI)
-
getRangeDisplayLimit
public int getRangeDisplayLimit()
- Returns:
- int for compatibility reasons. Null values convert to -1.
-
getRangeDisplayLimitInteger
public Integer getRangeDisplayLimitInteger()
- Returns:
- display limit, or null for an unset value
-
setRangeDisplayLimit
public void setRangeDisplayLimit(int rangeDisplayLimit)
-
getRangeDisplayTier
public int getRangeDisplayTier()
- Returns:
- int for compatibility reason. Null values convert to -1.
-
getRangeDisplayTierInteger
public Integer getRangeDisplayTierInteger()
- Returns:
- display tier, or null for an unset value
-
setRangeDisplayTier
public void setRangeDisplayTier(Integer rangeDisplayTier)
-
getRangeEntitySortDirection
public String getRangeEntitySortDirection()
-
setRangeEntitySortDirection
public void setRangeEntitySortDirection(String rangeEntitySortDirection)
-
getSelectFromExisting
public boolean getSelectFromExisting()
-
setSelectFromExisting
public void setSelectFromExisting(boolean b)
-
getOfferCreateNewOption
public boolean getOfferCreateNewOption()
-
setOfferCreateNewOption
public void setOfferCreateNewOption(boolean b)
-
getStubObjectRelation
public boolean getStubObjectRelation()
-
setStubObjectRelation
public void setStubObjectRelation(boolean b)
-
compareTo
public int compareTo(ObjectProperty op)
Sorts alphabetically by public name- Specified by:
compareToin interfaceComparable<ObjectProperty>
-
sortObjectPropertyStatementsForDisplay
public static List<ObjectPropertyStatement> sortObjectPropertyStatementsForDisplay(ObjectProperty prop, List objPropStmtsList)
Sorts the object property statements taking into account the sort order.
-
toString
public String toString()
Produces a string representation of the contents of this class
-
clone
public ObjectProperty clone()
-
-