public class PropertyM
extends java.lang.Object
| Constructor and Description |
|---|
PropertyM(java.lang.String propertyName,
TypeM propertyType) |
public PropertyM(java.lang.String propertyName,
TypeM propertyType)
public TypeM getPropertyType()
public java.lang.String getPropertyName()
public java.lang.String getWithMethodName()
public PropertyM withMethodNamePattern(java.lang.String methodNamePattern)
public TypeM getParameterizedBuilderInterfaceType(TypeM interfaceType)
public TypeM getOptionalPropertyType(TypeM optionalType)
TypeM for an optional property supplied by the given optional type.public ConstructorParameterM getConstructorParameter()
public PropertyM writableVia(ConstructorParameterM constructorParameter)
public boolean isWritableViaConstructor()
public PropertyM writableVia(SetterMethodM setterMethod)
public SetterMethodM getSetterMethod()
public boolean isWritableViaSetterMethod()
public MethodM getGetterMethod()
public boolean isReadableViaGetterMethod()
public PropertyM accessibleVia(FieldAccessM fieldAccess)
public FieldAccessM getFieldAccess()
public boolean isAccessibleViaFieldAccess()
public FactoryMethodParameterM getFactoryMethodParameter()
public PropertyM writableVia(FactoryMethodParameterM param)
public boolean isWritableViaFactoryMethod()
public boolean isWritableViaSetterMethodBy(TypeM accessingClass)
public boolean isWritableViaFieldAccessBy(TypeM accessingClass)
public boolean isWritableBy(TypeM accessingClass)
public boolean isReadableViaGetterMethodBy(TypeM accessingClass)
public boolean isReadableViaFieldAccessBy(TypeM accessingClass)
public java.lang.String getValueFieldName()
public java.lang.String getIsSetFieldName()
public java.lang.String getBuilderFieldName()
public WriteAccess getPreferredWriteAccessFor(TypeM accessingClass)
public java.lang.String toString()
toString in class java.lang.Object