org.springframework.roo.addon.web.mvc.controller.details
Class JavaTypeMetadataDetails
java.lang.Object
org.springframework.roo.addon.web.mvc.controller.details.JavaTypeMetadataDetails
public class JavaTypeMetadataDetails
- extends Object
Aggregates metadata for a given JavaType which is needed by Web
scaffolding add-ons.
- Since:
- 1.1.2
- Author:
- Stefan Schmidt
JavaTypeMetadataDetails
public JavaTypeMetadataDetails(org.springframework.roo.model.JavaType javaType,
String plural,
boolean isEnumType,
boolean isApplicationType,
JavaTypePersistenceMetadataDetails persistenceDetails,
String controllerPath)
- Constructor for JavaTypeMetadataDetails.
- Parameters:
javaType - (must not be null)plural - (must contain text)isEnumType - isApplicationType - persistenceDetails - (may be null if no persistence metadata is
present for the javaType)controllerPath - (must contain text)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getControllerPath
public String getControllerPath()
getJavaType
public org.springframework.roo.model.JavaType getJavaType()
getPersistenceDetails
public JavaTypePersistenceMetadataDetails getPersistenceDetails()
getPlural
public String getPlural()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
isApplicationType
public boolean isApplicationType()
isEnumType
public boolean isEnumType()
isPersistent
public boolean isPersistent()
- Indicates whether this
JavaType is persisted by the application.
- Returns:
false if for example it's an enum type- Since:
- 1.2.1
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009–2015. All rights reserved.