Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7685063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:10:11+00:00 2026-05-31T19:10:11+00:00

below is a sample class: AAAA.java 1 package tp.domain; 2 3 import org.springframework.beans.factory.annotation.Value; 4

  • 0

below is a sample class:

AAAA.java

  1 package tp.domain;
  2 
  3 import org.springframework.beans.factory.annotation.Value;
  4 import org.springframework.roo.addon.javabean.RooJavaBean;
  5 import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
  6 import org.springframework.roo.addon.tostring.RooToString;
  7 
  8 @RooJavaBean
  9 @RooToString
 10 @RooJpaActiveRecord
 11 public class AAAA {
 12                             
 13     @Value("true")         
 14     private Boolean a;
 15 }

AAAA_Roo_JavaBean.aj

  4 package top.tap.domain;
  5 
  6 import top.tap.domain.AAAA;
  7 
  8 privileged aspect AAAA_Roo_JavaBean {
  9 
 10     public Boolean AAAA.getA() {
 11         return this.a;
 12     }
 13 
 14     public void AAAA.setA(Boolean a) {
 15         this.a = a;
 16     }
 17 
 18 }

I like to modify getter setter via entity class (AAAA.java). Can i do it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T19:10:12+00:00Added an answer on May 31, 2026 at 7:10 pm

    Yes. Run the Roo Shell, either through Eclipse/STS if you are using it, or command line if not. Add the getters/setters you want to over-write, and the Roo Shell will see this and remove the conflicting getters/setters from the .aj file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple code below: import java.util.ArrayList; public class BoidList extends ArrayList {
I am currently learing MIPS for a class and wrote the below sample code.
Ho can I implement a Car class in the sample below. I can pass
How does async JMS work? I've below sample code: public class JmsAdapter implements MessageListener,
Please find the code sample below: public class Abc extends Activity implements OnClickListener{ private
I have implemented background worker class something similar to below sample and I want
I am extending ProgressChangedEventArgs. Below is my code snippet: public class Sample : ProgressChangedEventArgs
Given the code below: class Sample { public static void Run() { int i
Is there a way to match any class argument of the below sample routine?
Consider the sample code below: #include <iostream> using namespace std; class core { public:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.