[Index]

Custom PropertyTypes Overview


Custom API classes as type (15)

  PropertyType options  
Name Type Required Optional Value examples Examples & Links
ByteSizePropertyType dk.heick.properties.types.custom.ByteSizeVO  
  • defaultValue [ByteSizeVO] [null]
  • maxValue [ByteSizeVO] [null]
  • minValue [ByteSizeVO] [null]
  • 4 mb
  • 1.342 kb
  • 3.2 GB
  • 64 kB
  • 2.5 TB
[Examples]
[API Doc]
EnvironmentPropertyType dk.heick.properties.types.custom.enums.Environment  
  • defaultValue [Environment] [null]
  • UNKNOWN
  • DEVELOPMENT
  • DEVELOPMENT_1
  • DEVELOPMENT_2
  • DEVELOPMENT_3
  • TEST
  • TEST_1
  • TEST_2
  • TEST_3
  • UAT
  • UAT_1
  • UAT_2
  • UAT_3
  • PRE_PRODUCTION
  • PRE_PRODUCTION_1
  • PRE_PRODUCTION_2
  • PRE_PRODUCTION_3
  • PRODUCTION
[Examples]
[API Doc]
FilenameFilterPropertyType dk.heick.properties.types.custom.filefilters.AbstractStringFilenameFilter  
  • defaultValue [AbstractStringFilenameFilter] [null]
  • filterImplementation [AbstractStringFilenameFilter] [new WildCardFilenameFilter()]
  • wildcardFilter [String] [new WildCardFilenameFilter(filter)]
  • *
  • *.*
  • *.txt
  • *.txt;*.htm
  • *.txt;horse*
  • *.txt;horse*.txt
[Examples]
[API Doc]
HourIntervalsPropertyType dk.heick.properties.types.custom.HourIntervalsVO  
  • defaultValue [HourIntervalsVO] [null]
  • 15-22
  • 7-9;13-14;19-23
[Examples]
[API Doc]
IPRangePropertyType dk.heick.properties.types.custom.IPRange  
  • defaultValue [IPRange] [null]
  • 127.0.0.1
  • 192.168.*.*
  • 10.0.1-125.*
[Examples]
[API Doc]
LatLngPropertyType dk.heick.properties.types.custom.LatLng  
  • defaultValue [LatLng] [null]
  • 25.205 , -36.119
  • 25.0° 12.0' 18.0"S ,136.0° 07.0' 08.0"W
[Examples]
[API Doc]
MonthPropertyType dk.heick.properties.types.custom.enums.Month  
  • defaultValue [Month] [null]
  • JANUARY
  • november
[Examples]
[API Doc]
PasswordPropertyType dk.heick.properties.types.custom.PasswordTypeVO  
  • autoEncrypt [boolean] [false]
  • evaluator [PasswordEvaluator] [null]
  • passwordEncryption [PasswordEncryption] [new AESEncryption()]
  • uncryptedpassword
  • [AES]t5vqFSfretgRdQaIvcM1fg==
  • [MD5]ba352acae7a4b3532fb4f9ca26f79bbd
  • [SHA-512]5b51b01aecc14cb9955cb28faa5ea9a3f1783c639256fe0c31f
    8718b2c0aed4db57ab58b686ae4cca104ce5d4d370567f9a5bcf22b2bf4e
    749298d53c1550505
[Examples]
[API Doc]
Point2DPropertyType dk.heick.properties.types.custom.Point2D  
  • defaultValue [Point2D] [null]
  • x [double] [0]
  • y [double] [0]
  • 6,5
  • -0.9883,34.23E23
  • 73846,0.003
[Examples]
[API Doc]
Point3DPropertyType dk.heick.properties.types.custom.Point3D  
  • defaultValue [Point3D] [null]
  • x [double] [0]
  • y [double] [0]
  • z [double] [0]
  • 6,5,3
  • -0.9883,34.23E23,10
  • 73846,0.003,-1233
[Examples]
[API Doc]
RangePropertyType dk.heick.properties.types.custom.RangeVO<T>  
  • defaultValue [RangeVO<T>] [null]
  • divider [String] [;]
  • rangeType [PropertyType<T>] [PropertyType<T>]
  • 1-3
  • 11 mb-3 gb
[Examples]
[API Doc]
SequencePropertyType dk.heick.properties.types.custom.SequenceVO  
  • increments [Long] [50]
  • 156487
[Examples]
[API Doc]
TimeSpanPropertyType dk.heick.properties.types.custom.TimeSpan  
  • defaultValue [TimeSpan] [null]
  • maxValue [TimeSpan] [null]
  • minValue [TimeSpan] [null]
  • 41y 84d 4h 48m 3s
[Examples]
[API Doc]
VersionPropertyType dk.heick.properties.types.custom.VersionVO  
  • defaultValue [VersionVO] [null]
  • 1.2_RC4-AppName
  • 1.2.3_BETA5
  • 1.2_RC2
  • 2.3
  • 3.1.3
  • 2.3_FINAL
[Examples]
[API Doc]
WeekdayPropertyType dk.heick.properties.types.custom.enums.Weekday  
  • defaultValue [Weekday] [null]
  • MONDAY
  • sunday
[Examples]
[API Doc]








EXAMPLES



Example : ByteSizePropertyType [to type] [to top]
Property<ByteSizeVO> A_PROPERTY = new Property<ByteSizeVO>("name", new ByteSizePropertyType());
Property<ByteSizeVO> A_PROPERTY = new Property<ByteSizeVO>("name", new ByteSizePropertyType(new ByteSizeVO(3,ByteSizeUnit.KB)));
Property<ByteSizeVO> A_PROPERTY = new Property<ByteSizeVO>("name", new ByteSizePropertyType(new ByteSizeVO(5,ByteSizeUnit.MB), new ByteSizeVO(512,ByteSizeUnit.KB) ,new ByteSizeVO(10,ByteSizeUnit.MB) ));
Example : EnvironmentPropertyType [to type] [to top]
Property<Environment> A_PROPERTY = new Property<Environment>("name", new EnvironmentPropertyType());
Property<Environment> A_PROPERTY = new Property<Environment>("name", new EnvironmentPropertyType(Environment.DEVELOPMENT));
Example : FilenameFilterPropertyType [to type] [to top]
Property<WildCardFilenameFilter> A_PROPERTY = new Property<WildCardFilenameFilter>("name", new FilenameFilterPropertyType());
Property<WildCardFilenameFilter> A_PROPERTY = new Property<WildCardFilenameFilter>("name", new FilenameFilterPropertyType(new WildCardFilenameFilter("*.txt;*.htm")));
Example : HourIntervalsPropertyType [to type] [to top]
Property<HourIntervalsVO> A_PROPERTY = new Property<HourIntervalsVO>("name", new HourIntervalsPropertyType());
Example : IPRangePropertyType [to type] [to top]
Property<IPRange> A_PROPERTY = new Property<IPRange>("name", new IPRangePropertyType());
Property<IPRange> A_PROPERTY = new Property<IPRange>("name", new IPRangePropertyType(new IPRange("192.168.**")));
Example : LatLngPropertyType [to type] [to top]
Property<LatLng> A_PROPERTY = new Property<LatLng>("name", new LatLngPropertyType());
Property<LatLng> A_PROPERTY = new Property<LatLng>("name", new LatLngPropertyType(new LatLng(25.205,-36.4578)));
Example : MonthPropertyType [to type] [to top]
Property<Month> A_PROPERTY = new Property<Month>("name", new MonthPropertyType());
Property<Month> A_PROPERTY = new Property<Month>("name", new MonthPropertyType(Month.OCTOBER));
Example : PasswordPropertyType [to type] [to top]
Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType());
Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType(new AESEncryption()));
Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType(new MD5Encryption()));
Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType(new SHA512Encryption()));
Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType(new MD5Encryption(),true));
Property<PasswordTypeVO> A_PROPERTY = new Property<PasswordTypeVO>("name", new PasswordPropertyType(new MD5Encryption(),false,new DefaultPasswordEvaluator(7))));
Example : Point2DPropertyType [to type] [to top]
Property<Point2D> A_PROPERTY= new Property<Point2D>("name", new Point2DPropertyType());
Property<Point2D> A_PROPERTY= new Property<Point2D>("name", new Point2DPropertyType(new Point2D(23.43,-9172.23E12)));
Example : Point3DPropertyType [to type] [to top]
Property<Point3D> A_PROPERTY= new Property<Point3D>("name", new Point3DPropertyType());
Property<Point3D> A_PROPERTY= new Property<Point3D>("name", new Point3DPropertyType(new Point3D(23.43,-9172.23E12,5845)));
Example : RangePropertyType [to type] [to top]
Property<RangeVO<Integer>> A_PROPERTY= new Property<RangeVO<Integer>>("name", new RangePropertyType<Integer>(new IntegerPropertyType()));
Property<RangeVO<ByteSizeVO>> A_PROPERTY= new Property<RangeVO<ByteSizeVO>>("name", new RangePropertyType<ByteSizeVO>(new ByteSizePropertyType()));
Example : SequencePropertyType [to type] [to top]
Property<SequenceVO> A_PROPERTY= new Property<SequenceVO>("name", new SequencePropertyType());
Property<SequenceVO> A_PROPERTY= new Property<SequenceVO>("name", new SequencePropertyType(80));
Example : TimeSpanPropertyType [to type] [to top]
Property<TimeSpan> A_PROPERTY= new Property<TimeSpan>("name", new TimeSpanPropertyType());
Property<TimeSpan> A_PROPERTY= new Property<TimeSpan>("name", new TimeSpanPropertyType(TimeSpan.DAYS_21));
Example : VersionPropertyType [to type] [to top]
Property<VersionVO> A_PROPERTY= new Property<VersionVO>("name", new VersionPropertyType());
Example : WeekdayPropertyType [to type] [to top]
Property<Weekday> A_PROPERTY = new Property<Weekday>("name", new WeekdayPropertyType());
Property<Weekday> A_PROPERTY = new Property<Weekday>("name", new WeekdayPropertyType(Weekday.FRIDAY));