Class RelationshipType
- java.lang.Object
-
- com.enonic.xp.schema.BaseSchema<RelationshipTypeName>
-
- com.enonic.xp.schema.relationship.RelationshipType
-
@PublicApi public final class RelationshipType extends BaseSchema<RelationshipTypeName>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRelationshipType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelationshipType.Buildercreate()static RelationshipType.Buildercreate(RelationshipType relationshipType)booleanequals(Object o)ContentTypeNamesgetAllowedFromTypes()ContentTypeNamesgetAllowedToTypes()StringgetFromSemantic()StringgetToSemantic()inthashCode()-
Methods inherited from class com.enonic.xp.schema.BaseSchema
getCreatedTime, getCreator, getDescription, getDescriptionI18nKey, getDisplayName, getDisplayNameI18nKey, getIcon, getModifiedTime, getModifier, getName
-
-
-
-
Method Detail
-
getFromSemantic
public String getFromSemantic()
-
getToSemantic
public String getToSemantic()
-
getAllowedFromTypes
public ContentTypeNames getAllowedFromTypes()
-
getAllowedToTypes
public ContentTypeNames getAllowedToTypes()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classBaseSchema<RelationshipTypeName>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseSchema<RelationshipTypeName>
-
create
public static RelationshipType.Builder create()
-
create
public static RelationshipType.Builder create(RelationshipType relationshipType)
-
-